mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 13:43:07 +00:00
address codeql review
This commit is contained in:
parent
e125e0a4d5
commit
cd3a3ea6fa
1 changed files with 1 additions and 1 deletions
|
@ -1252,7 +1252,7 @@ export class MarkdownString {
|
|||
// escape markdown syntax tokens: http://daringfireball.net/projects/markdown/syntax#backslash
|
||||
this.value += (this.supportThemeIcons ? escapeCodicons(value) : value)
|
||||
.replace(/[\\`*_{}[\]()#+\-.!]/g, '\\$&')
|
||||
.replace('\n', '\n\n');
|
||||
.replace(/\n/, '\n\n');
|
||||
|
||||
return this;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue