Skip to content

Commit

Permalink
fix(escapeMarkdown): fix double escaping (v13) (#8799)
Browse files Browse the repository at this point in the history
  • Loading branch information
RedGuy12 committed Oct 31, 2022
1 parent c312da7 commit caf6f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/Util.js
Expand Up @@ -199,14 +199,14 @@ class Util extends null {
})
.join(inlineCode ? '\\`' : '`');
}
if (escape) text = Util.escapeEscape(text);
if (inlineCode) text = Util.escapeInlineCode(text);
if (codeBlock) text = Util.escapeCodeBlock(text);
if (italic) text = Util.escapeItalic(text);
if (bold) text = Util.escapeBold(text);
if (underline) text = Util.escapeUnderline(text);
if (strikethrough) text = Util.escapeStrikethrough(text);
if (spoiler) text = Util.escapeSpoiler(text);
if (escape) text = Util.escapeEscape(text);
if (heading) text = Util.escapeHeading(text);
if (bulletedList) text = Util.escapeBulletedList(text);
if (numberedList) text = Util.escapeNumberedList(text);
Expand Down

0 comments on commit caf6f66

Please sign in to comment.