mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Add codeql comments and small fix (#185931)
This commit is contained in:
@@ -261,7 +261,7 @@ function escapeHtmlAttribute(attr: string): string {
|
||||
|
||||
function escapeMarkdownLinkPath(mdPath: string): string {
|
||||
if (needsBracketLink(mdPath)) {
|
||||
return '<' + mdPath.replace('<', '\\<').replace('>', '\\>') + '>';
|
||||
return '<' + mdPath.replaceAll('<', '\\<').replaceAll('>', '\\>') + '>';
|
||||
}
|
||||
|
||||
return encodeURI(mdPath);
|
||||
|
||||
Reference in New Issue
Block a user