We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9f07f1 + 7cf9dbe commit f092379Copy full SHA for f092379
extensions/markdown-language-features/src/util/dom.ts
@@ -5,7 +5,10 @@
5
import * as vscode from 'vscode';
6
7
export function escapeAttribute(value: string | vscode.Uri): string {
8
- return value.toString().replace(/"/g, '"');
+ return value.toString()
9
+ .replace(/&/g, '&')
10
+ .replace(/"/g, '"')
11
+ .replace(/'/g, ''');
12
}
13
14
export function getNonce() {
0 commit comments