Skip to content

Commit

Permalink
Add data to trusted schemes in rendered markdown
Browse files Browse the repository at this point in the history
Fixes #79781
  • Loading branch information
mjbvz committed Aug 26, 2019
1 parent bf3779f commit a55c0a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/base/browser/markdownRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit a55c0a8

Please sign in to comment.