Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/js/reveal-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>'
}
Expand Down
2 changes: 2 additions & 0 deletions public/js/slide.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ const defaultOptions = {
}

var options = meta.slideOptions || {}
// delete dependencies to avoid import user defined external resources
delete options.dependencies

if (Object.hasOwnProperty.call(options, 'spotlight')) {
defaultOptions.dependencies.push({
Expand Down