PERCS PLEASE FILL THIS IN dot js

This commit is contained in:
Toshit Chawda 2024-10-29 20:34:22 -07:00
parent 6882ceff9b
commit 9bd880ac8a
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
9 changed files with 163 additions and 161 deletions

View file

@ -236,7 +236,7 @@ function traverseParsedHtml(
);
const htmlcomment = /<!--[\s\S]*?-->/g;
js = js.replace(htmlcomment, "");
node.children[0].data = rewriteJs(js, meta);
node.children[0].data = rewriteJs(js, "(inline script element)", meta);
}
if (node.name === "meta" && node.attribs["http-equiv"] != undefined) {