mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
fix: svguseelement rewriting (fixes discord hover icons)
This commit is contained in:
parent
ebfadf2f37
commit
1070e68dcf
2 changed files with 2 additions and 7 deletions
|
@ -27,12 +27,7 @@ export default function (client: ScramjetClient, self: typeof window) {
|
|||
self.HTMLScriptElement,
|
||||
self.HTMLSourceElement,
|
||||
],
|
||||
href: [
|
||||
self.HTMLAnchorElement,
|
||||
self.HTMLLinkElement,
|
||||
self.SVGUseElement,
|
||||
self.SVGImageElement,
|
||||
],
|
||||
href: [self.HTMLAnchorElement, self.HTMLLinkElement, self.SVGImageElement],
|
||||
data: [self.HTMLObjectElement],
|
||||
action: [self.HTMLFormElement],
|
||||
formaction: [self.HTMLButtonElement, self.HTMLInputElement],
|
||||
|
|
|
@ -127,7 +127,7 @@ export const htmlRules: {
|
|||
"input",
|
||||
"track",
|
||||
],
|
||||
href: ["a", "link", "area", "use", "image"],
|
||||
href: ["a", "link", "area", "image"],
|
||||
data: ["object"],
|
||||
action: ["form"],
|
||||
formaction: ["button", "input", "textarea", "submit"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue