Space appears before a new line only on mobile

Hello, I noticed that text in my embeds have a space before them if they're on a new line and viewed on mobile. On desktop it appears normal, so I'm not sure what's the problem. I thought it might've been because of the different kinds of newlines, but I tested \n \r\n and \r and the result was the same across all of them. Here's the code of the string:
.setDescription(`
${description ? `**Description:**\n${description}\n` : ""}
${note ? `**Hunter's notes:**\n${note}\n` : ""}
${dreamnail ? `**Dream Nail:**\n${dreamnail}` : ""}
`)
.setDescription(`
${description ? `**Description:**\n${description}\n` : ""}
${note ? `**Hunter's notes:**\n${note}\n` : ""}
${dreamnail ? `**Dream Nail:**\n${dreamnail}` : ""}
`)
And I've also attached 2 images, one of a screenshot on mobile and another one on desktop.
4 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Parogo_72
Parogo_722y ago
This has nothing to do with discord.js
Araraura
ArarauraOP2y ago
javascript or discord api?
Parogo_72
Parogo_722y ago
That seems a discord api issue or a string formatting issue. None of them discord.js
Want results from more Discord servers?
Add your server