mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -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 '&';
|
||||||
case '"': return '"';
|
case '"': return '"';
|
||||||
|
case '\'': return ''';
|
||||||
default: return match;
|
default: return match;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user