File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ import { md } from './extra'
103103
104104 // prevent script end tags in the content from interfering
105105 // with parsing
106- content = content . replace ( / < \/ s c r i p t > / g , SCRIPT_END_PLACEHOLDER )
106+ content = content . replace ( / < \/ s c r i p t > / gi , SCRIPT_END_PLACEHOLDER )
107107
108108 return '<script type="text/template">' + content + '</script>'
109109 }
Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ const defaultOptions = {
8080}
8181
8282var options = meta . slideOptions || { }
83+ // delete dependencies to avoid import user defined external resources
84+ delete options . dependencies
8385
8486if ( Object . hasOwnProperty . call ( options , 'spotlight' ) ) {
8587 defaultOptions . dependencies . push ( {
You can’t perform that action at this time.
0 commit comments