diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-12-20 21:27:44 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-12-20 21:27:44 -0400 |
commit | b65edcb7e61d2e0c4de6528bb8ee3e5d2032a500 (patch) | |
tree | bceaff4a532172d3038f8c1a1ba598b168123f15 /src | |
parent | f463913381c6483d517907f74d62626e2946f216 (diff) |
replacer: SIGH preview
Diffstat (limited to 'src')
-rw-r--r-- | src/util/replacer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/replacer.js b/src/util/replacer.js index 678933f2..78b4a895 100644 --- a/src/util/replacer.js +++ b/src/util/replacer.js @@ -428,7 +428,7 @@ export function squashBackslashes(text) { // a set of characters where the backslash carries meaning // into later formatting (i.e. markdown). Note that we do // NOT compress double backslashes into single backslashes. - return text.replace(/([^\\](?:\\{2})*)\\(?![\\*_~-])/g, '$1'); + return text.replace(/([^\\](?:\\{2})*)\\(?![\\*_~>-])/g, '$1'); } export function restoreRawHTMLTags(text) { |