Skip to content

Commit 4219c84

Browse files
committed
Remove extra type
1 parent abfd828 commit 4219c84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export class WalkThroughPart extends EditorPane {
288288

289289
const content = model.main;
290290
if (!input.resource.path.endsWith('.md')) {
291-
safeInnerHtml(this.content, content, { ALLOW_UNKNOWN_PROTOCOLS: true });
291+
safeInnerHtml(this.content, content);
292292

293293
this.updateSizeClasses();
294294
this.decorateContent();
@@ -303,7 +303,7 @@ export class WalkThroughPart extends EditorPane {
303303
const innerContent = document.createElement('div');
304304
innerContent.classList.add('walkThroughContent'); // only for markdown files
305305
const markdown = this.expandMacros(content);
306-
safeInnerHtml(innerContent, markdown, { ALLOW_UNKNOWN_PROTOCOLS: true });
306+
safeInnerHtml(innerContent, markdown);
307307
this.content.appendChild(innerContent);
308308

309309
model.snippets.forEach((snippet, i) => {

0 commit comments

Comments
 (0)