File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/workbench/contrib/welcomeWalkthrough/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ export class WalkThroughPart extends EditorPane {
288
288
289
289
const content = model . main ;
290
290
if ( ! input . resource . path . endsWith ( '.md' ) ) {
291
- safeInnerHtml ( this . content , content , { ALLOW_UNKNOWN_PROTOCOLS : true } ) ;
291
+ safeInnerHtml ( this . content , content ) ;
292
292
293
293
this . updateSizeClasses ( ) ;
294
294
this . decorateContent ( ) ;
@@ -303,7 +303,7 @@ export class WalkThroughPart extends EditorPane {
303
303
const innerContent = document . createElement ( 'div' ) ;
304
304
innerContent . classList . add ( 'walkThroughContent' ) ; // only for markdown files
305
305
const markdown = this . expandMacros ( content ) ;
306
- safeInnerHtml ( innerContent , markdown , { ALLOW_UNKNOWN_PROTOCOLS : true } ) ;
306
+ safeInnerHtml ( innerContent , markdown ) ;
307
307
this . content . appendChild ( innerContent ) ;
308
308
309
309
model . snippets . forEach ( ( snippet , i ) => {
You can’t perform that action at this time.
0 commit comments