mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
@@ -390,7 +390,7 @@ function escapeMarkdownLinkPath(mdPath: string, isExternalLink: boolean): string
|
||||
}
|
||||
|
||||
function escapeBrackets(value: string): string {
|
||||
value = value.replace(/[\[\]]/g, '\\$&');
|
||||
value = value.replace(/[\[\]]/g, '\\$&'); // CodeQL [SM02383] The Markdown is fully sanitized after being rendered.
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user