diff --git a/src/util/html.js b/src/util/html.js index c54c777..5b928b4 100644 --- a/src/util/html.js +++ b/src/util/html.js @@ -61,7 +61,9 @@ function whenYouWalking(tree, images = true, embed = true) { } else if (content == link || link.replace(/^https?:\/\//, "") == content) { str += embed ? link : `<${link}>`; } else { - str += `[${content}](${embed ? "" : "<"}${link}${embed ? "" : ">"}${alt != null ? ` "${alt}"` : ""})`; + str += `[${content.replaceAll("\\", "")}](${embed ? "" : "<"}${link}${embed ? "" : ">"}${ + alt != null ? ` "${alt}"` : "" + })`; } } else if (elem.b) { str += `**${whenYouWalking(elem.b, images, embed)}**`;