aboutsummaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/policy_enforcing.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/policy_enforcing.js b/content/policy_enforcing.js
index b13eb82..69a12fd 100644
--- a/content/policy_enforcing.js
+++ b/content/policy_enforcing.js
@@ -447,7 +447,7 @@ async function sanitize_document(doc, policy) {
}
const scripts = [...root.getElementsByTagNameNS(html_ns, "script"),
- ...root.getElementsByTagNameNS(svg_ns, "svg")];
+ ...root.getElementsByTagNameNS(svg_ns, "script")];
scripts.forEach(s => sanitize_script(s, policy));
temporary_html.replaceWith(root);
scripts.forEach(s => desanitize_script(s, policy));