mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
Don't try re-encoding vscode-resoure markdown links
Fixes #60374 Some markdown-it extensions end up reprocessing the same tokens multiple times. This can result in our link normalized being re-invoked on a link, which causes it to fail Fix to to make sure that `vscode-resource` is a recongized link so that we don't try re-normalizing in these cases
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
import * as vscode from 'vscode';
|
||||
|
||||
const knownSchemes = ['http:', 'https:', 'file:', 'mailto:'];
|
||||
const knownSchemes = ['http:', 'https:', 'file:', 'mailto:', 'vscode-resource:'];
|
||||
|
||||
export function getUriForLinkWithKnownExternalScheme(
|
||||
link: string,
|
||||
|
||||
Reference in New Issue
Block a user