fix: rewrite <image>

This commit is contained in:
Percs 2024-12-05 06:44:15 +00:00 committed by GitHub
parent 06583fb0b2
commit b5a7598465
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions

View file

@ -120,14 +120,13 @@ export const htmlRules: {
"embed",
"script",
"img",
"image",
"iframe",
"frame",
"source",
"input",
"track",
],
href: ["a", "link", "area", "use"],
href: ["a", "link", "area", "use", "image"],
data: ["object"],
action: ["form"],
formaction: ["button", "input", "textarea", "submit"],