mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
scuffed ahh assignmentrewriter
This commit is contained in:
parent
3d30e20150
commit
02fbb25778
10 changed files with 240 additions and 12 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue