scuffed ahh assignmentrewriter

This commit is contained in:
velzie 2024-07-19 19:55:15 -04:00
parent 3d30e20150
commit 02fbb25778
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
10 changed files with 240 additions and 12 deletions

View file

@ -54,6 +54,10 @@ function traverseParsedHtml(node, origin?: URL) {
}
}
if (node.name === "meta" && hasAttrib(node, "http-equiv")) {
node.attribs["http-equiv"] = "a";
}
if (hasAttrib(node, "srcdoc"))
node.attribs.srcdoc = rewriteHtml(node.attribs.srcdoc, origin);
if (hasAttrib(node, "style"))