diff --git a/src/util/html.js b/src/util/html.js index 0c5978a..85bb5ec 100644 --- a/src/util/html.js +++ b/src/util/html.js @@ -32,7 +32,6 @@ function parseHtmlEntities(str) { function htmlToMarkdown(str, images = true, embed = true) { str = str.replaceAll("\\", "\\\\"); - str = str.replaceAll("#", "\\#"); str = str.replace(/]+)?>(.|\n)*?<\/style>/gi, ""); str = str.replace(/]+)?href="([^"]+?)"(\s+[^>]+)?>(.+?)<\/a>/gi, (_, __, url, ___, text) => { url = url.replace(/^\/\//, "https://").replace("\\#", "#");