We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5b4c7ef + c47f0f0 commit 452f9acCopy full SHA for 452f9ac
2 files changed
public/js/reveal-markdown.js
@@ -103,7 +103,7 @@ import { md } from './extra'
103
104
// prevent script end tags in the content from interfering
105
// with parsing
106
- content = content.replace(/<\/script>/g, SCRIPT_END_PLACEHOLDER)
+ content = content.replace(/<\/script>/gi, SCRIPT_END_PLACEHOLDER)
107
108
return '<script type="text/template">' + content + '</script>'
109
}
public/js/slide.js
@@ -80,6 +80,8 @@ const defaultOptions = {
80
81
82
var options = meta.slideOptions || {}
83
+// delete dependencies to avoid import user defined external resources
84
+delete options.dependencies
85
86
if (Object.hasOwnProperty.call(options, 'spotlight')) {
87
defaultOptions.dependencies.push({
0 commit comments