From 2be0d82a35d3c3b2f69503c4c463c9e07c3cd7a4 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Tue, 17 Aug 2021 20:37:07 +1200 Subject: [PATCH] Fix typo. --- shared/naturalcrit/markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/naturalcrit/markdown.js b/shared/naturalcrit/markdown.js index 5b663f31b..1b6a7f3ce 100644 --- a/shared/naturalcrit/markdown.js +++ b/shared/naturalcrit/markdown.js @@ -508,7 +508,7 @@ const sanatizeScriptTags = (content)=>{ const tagTypes = ['div', 'span', 'a']; const tagRegex = new RegExp(`(${ _.map(tagTypes, (type)=>{ - return `\\<${type}\b|\\`; + return `\\<${type}\\b|\\`; }).join('|')})`, 'g'); const processStyleTags = (string)=>{