fedimbed: try only backticks
This commit is contained in:
parent
983c07c958
commit
6b38dd8d6e
1 changed files with 1 additions and 1 deletions
|
@ -1304,7 +1304,7 @@ async function processUrl(msg, url, spoiler = false, command = false, inQuote =
|
||||||
.replaceAll(/twitter\.com\/t\.co/g, "t.co");
|
.replaceAll(/twitter\.com\/t\.co/g, "t.co");
|
||||||
}
|
}
|
||||||
|
|
||||||
content = content.replace(/[*_~`|]/g, "\\$&");
|
content = content.replace(/`/g, "\\$&");
|
||||||
|
|
||||||
content = htmlToMarkdown(content);
|
content = htmlToMarkdown(content);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue