Fix welcome page images (#18180)

This commit is contained in:
Charles Gagnon
2022-01-27 16:05:31 -08:00
committed by GitHub
parent ad06fc7321
commit d23edbb338
2 changed files with 3 additions and 1 deletions

View File

@@ -1403,7 +1403,7 @@ export function safeInnerHtml(node: HTMLElement, value: string): void {
'span': ['data-command', 'role'],
'textarea': ['name', 'placeholder', 'required'],
},
allowedSchemes: ['http', 'https', 'command', 'file'] // {{SQL CARBON EDIT}} Add allowed schema for welcome page support
allowedSchemes: ['http', 'https', 'command', 'vscode-file'] // {{SQL CARBON EDIT}} Add allowed schema for welcome page support
}, ['class', 'id', 'role', 'tabindex']);
const html = _ttpSafeInnerHtml?.createHTML(value, options) ?? insane(value, options);