mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Address #144206 by reverting parts of 6d04ed55c7
This commit is contained in:
@@ -136,7 +136,7 @@ export function markdownStringEqual(a: IMarkdownString, b: IMarkdownString): boo
|
||||
|
||||
export function escapeMarkdownSyntaxTokens(text: string): string {
|
||||
// escape markdown syntax tokens: http://daringfireball.net/projects/markdown/syntax#backslash
|
||||
return text.replace(/[\\`* _{ } [\]()# +\-!]/g, '\\$&');
|
||||
return text.replace(/[\\`*_{}[\]()#+\-!]/g, '\\$&');
|
||||
}
|
||||
|
||||
export function removeMarkdownEscapes(text: string): string {
|
||||
|
||||
Reference in New Issue
Block a user