You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure what the amount of characters required to reproduce this is but you can reproduce this by simply using this string: _____________________________________. I will include a bigger one with more formatting characters below. The function does escape some of the characters, but not all
Code sample
import{escapeMarkdown}from"@discordjs/formatters"console.log(escapeMarkdown(" _____________________________________\n/ Hey! You're not supposed to be here \\\n| I've triggered all the alarms, we're |\n\\ coming for you buddy /\n -------------------------------------\n \\ ^__^ \n \\ (oo)\\_______\n (__)\\ )\\/\\\n ||----w |\n || ||\n "))// haha funny cow
Versions
discord.js 14.11.0
Node.js v18.15.0
Typescript v5.0.4 (although irrelevant)
Windows 11, tested in Linux too
Issue priority
Low (slightly annoying)
Which partials do you have configured?
Not applicable
Which gateway intents are you subscribing to?
Not applicable
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered:
Which package is this bug report for?
formatters
Issue description
I'm not sure what the amount of characters required to reproduce this is but you can reproduce this by simply using this string:
_____________________________________
. I will include a bigger one with more formatting characters below. The function does escape some of the characters, but not allCode sample
Versions
Issue priority
Low (slightly annoying)
Which partials do you have configured?
Not applicable
Which gateway intents are you subscribing to?
Not applicable
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: