mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 17:23:15 -05:00
add ' to escape strings for html (#1974)
This commit is contained in:
committed by
Karl Burtram
parent
0d60fe775f
commit
feab43f16d
@@ -15,6 +15,7 @@ export function escape(html: string): string {
|
||||
case '>': return '>';
|
||||
case '&': return '&';
|
||||
case '"': return '"';
|
||||
case '\'': return ''';
|
||||
default: return match;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user