From 448ea5cf5c52f5929cecfacdaef96b153d622a26 Mon Sep 17 00:00:00 2001 From: Scott Tolksdorf Date: Fri, 30 Nov 2018 16:49:37 -0500 Subject: [PATCH] Making the script tag stripper case insensitive --- shared/naturalcrit/markdown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/naturalcrit/markdown.js b/shared/naturalcrit/markdown.js index fa96d75..52a4a37 100644 --- a/shared/naturalcrit/markdown.js +++ b/shared/naturalcrit/markdown.js @@ -15,8 +15,8 @@ renderer.html = function (html) { const sanatizeScriptTags = (content)=>{ return content - .replace(/