Skip to content

Commit d96701e

Browse files
yume-chanjeanp413
authored andcommitted
Don't sanitize command URLs in getting started
Signed-off-by: Filip Troníček <[email protected]>
1 parent 3cddf0e commit d96701e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ function sanitize(documentContent: string): string {
182182
'width', 'height', 'align', 'x-dispatch',
183183
'required', 'checked', 'placeholder', 'when-checked', 'checked-on',
184184
],
185+
ALLOW_UNKNOWN_PROTOCOLS: true,
185186
});
186187
} finally {
187188
dompurify.removeHook('afterSanitizeAttributes');

0 commit comments

Comments
 (0)