From 1546786c635f744b8306428bf02e2ec0285fcb51 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Thu, 14 Jan 2021 11:35:17 +0100 Subject: changed the SCRIPT_END_PLACEHOLDER regex to case insensitive this was suggested by @TobiasHoll in https://github.com/hackmdio/codimd/issues/1648 Signed-off-by: Philip Molares --- public/js/reveal-markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/js/reveal-markdown.js') diff --git a/public/js/reveal-markdown.js b/public/js/reveal-markdown.js index ad5bfd04..c49bb9a2 100644 --- a/public/js/reveal-markdown.js +++ b/public/js/reveal-markdown.js @@ -103,7 +103,7 @@ import { md } from './extra' // prevent script end tags in the content from interfering // with parsing - content = content.replace(/<\/script>/g, SCRIPT_END_PLACEHOLDER) + content = content.replace(/<\/script>/gi, SCRIPT_END_PLACEHOLDER) return '' } -- cgit v1.2.3