Improve html escape (#34911)

drop "escape-goat"
This commit is contained in:
wxiaoguang authored and GitHub committed 2025-07-01 21:44:05 +08:00
1 parent 35f0b5a3ec
commit 1d4ad5aa2b
25 files changed
+103 -68

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import {htmlEscape} from 'escape-goat';
import {htmlEscape} from '../utils/html.ts';
import {svg} from '../svg.ts';
import {animateOnce, queryElems, showElem} from '../utils/dom.ts';
import Toastify from 'toastify-js'; // don't use "async import", because when network error occurs, the "async import" also fails and nothing is shown