mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-05 15:36:22 +01:00
1 parent
76985ae781
commit
01d8f7d47c
1 file changed
+1
-1
@@ -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