mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-12 19:39:20 -05:00
@@ -172,7 +172,7 @@ export function renderMarkdown(markdown: IMarkdownString, options: MarkdownRende
|
||||
renderer
|
||||
};
|
||||
|
||||
const allowedSchemes = ['http', 'https', 'mailto'];
|
||||
const allowedSchemes = ['http', 'https', 'mailto', 'data'];
|
||||
if (markdown.isTrusted) {
|
||||
allowedSchemes.push('command');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user