Add data to trusted schemes in rendered markdown

Fixes #79781
This commit is contained in:
Matt Bierner
2019-08-26 09:37:57 -07:00
parent bf3779f18f
commit a55c0a89ae

View File

@@ -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');
}