mirror of
https://git.arson.gg/lilith/discord-bot.git
synced 2025-12-05 03:34:49 +01:00
escape tag markdown
This commit is contained in:
parent
d159fa4a00
commit
61c8a8de01
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ function notEmpty(str) {
|
|||
|
||||
const regexCutTags = /[\S\s]{1,875}[^,]{0,25}/;
|
||||
function formatTags(tags) {
|
||||
const tagString = decode(tags.join(', '));
|
||||
const tagString = decode(tags.map(escapeMarkdown).join(', '));
|
||||
|
||||
if (tagString.length < 500) {
|
||||
return tagString;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue