Address #144206 by reverting parts of 6d04ed55c7

This commit is contained in:
Dirk Baeumer
2022-03-01 21:37:31 +01:00
parent bd50a9b075
commit 30e1c0cfda
+1 -1
View File
@@ -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 {