summaryrefslogtreecommitdiff
path: root/public/js/reveal-markdown.js
diff options
context:
space:
mode:
authorDavid Mehren2021-01-14 21:57:07 +0100
committerGitHub2021-01-14 21:57:07 +0100
commit2b8aac289a326468ab4eecb442acd59298541399 (patch)
treeb41c7467cd9ee8bcda7559358e32931946f0ec23 /public/js/reveal-markdown.js
parentf8757382af059fbbacd9881480a17fbfbebb1d95 (diff)
parent8e611e42eef5dc0bbc9c7b8e4d679c22a204bc26 (diff)
Merge pull request #727 from hedgedoc/fix/slideOptionsSanitation
Diffstat (limited to '')
-rw-r--r--public/js/reveal-markdown.js2
1 files changed, 1 insertions, 1 deletions
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 '<script type="text/template">' + content + '</script>'
}