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'
103
103
104
104
// prevent script end tags in the content from interfering
105
105
// 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 )
107
107
108
108
return '<script type="text/template">' + content + '</script>'
109
109
}
Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ const defaultOptions = {
80
80
}
81
81
82
82
var options = meta . slideOptions || { }
83
+ // delete dependencies to avoid import user defined external resources
84
+ delete options . dependencies
83
85
84
86
if ( Object . hasOwnProperty . call ( options , 'spotlight' ) ) {
85
87
defaultOptions . dependencies . push ( {
You can’t perform that action at this time.
0 commit comments