From b65edcb7e61d2e0c4de6528bb8ee3e5d2032a500 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 20 Dec 2024 21:27:44 -0400 Subject: replacer: SIGH --- src/util/replacer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') 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) { -- cgit 1.3.0-6-gf8a5