1 parent e47ade0 commit c06af61Copy full SHA for c06af61
1 file changed
src/ui/query-list.ts
@@ -475,9 +475,9 @@ function createChevronSvg(): SVGSVGElement {
475
476
function escapeHtml(value: string): string {
477
return value
478
- .replaceAll('&', '&')
479
- .replaceAll('<', '<')
480
- .replaceAll('>', '>')
481
- .replaceAll('"', '"')
482
- .replaceAll("'", ''');
+ .replace(/&/g, '&')
+ .replace(/</g, '<')
+ .replace(/>/g, '>')
+ .replace(/"/g, '"')
+ .replace(/'/g, ''');
483
}
0 commit comments