mirror of
https://github.com/microsoft/vscode.git
synced 2026-03-03 23:39:31 +00: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