diff --git a/src/index.ts b/src/index.ts
index 6dcdd98b..72a3f541 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -79,7 +79,7 @@ const MathML_TAG_NAMES =
.split(',')
.map(it => `m${it}`)
-const DANGEROUS_OR_OBSOLETE_TAG_NAMES = 'event-source,listing'
+const DANGEROUS_OR_OBSOLETE_TAG_NAMES = 'event-source,listing'.split(',')
function sanitizeNode(el: Document): Document
function sanitizeNode(el: DocumentFragment): DocumentFragment
diff --git a/test/__snapshots__/dompurify.spec.ts.snap b/test/__snapshots__/dompurify.spec.ts.snap
index d05bc303..0968e703 100644
--- a/test/__snapshots__/dompurify.spec.ts.snap
+++ b/test/__snapshots__/dompurify.spec.ts.snap
@@ -8,14 +8,6 @@ exports[`dompurify compatibility > >style< > >style< 1`] = `
}
`;
-exports[`dompurify compatibility > 65 > 65 1`] = `
-{
- "expected": "
",
- "result": "
",
-}
-`;
-
exports[`dompurify compatibility > 99 > 99 1`] = `
{
"expected": "Hello
@@ -61,22 +45,6 @@ exports[`dompurify compatibility > 100 > 100 1`] = `
}
`;
-exports[`dompurify compatibility > 111 > 111 1`] = `
-{
- "expected": "
",
- "payload": "
",
- "result": "
",
-}
-`;
-
-exports[`dompurify compatibility > 112 > 112 1`] = `
-{
- "expected": "
//["'\`-->]]>]
",
- "payload": "
//["'\`-->]]>]
",
- "result": "
//["'\`-->]]>]
",
-}
-`;
-
exports[`dompurify compatibility > 121 > 121 1`] = `
{
"expected": "//["'\`-->]]>]
@@ -490,7 +458,7 @@ exports[`dompurify compatibility > Don't remove ARIA attributes if not prohibite
{
"expected": "
",
"payload": "
",
- "result": "
",
+ "result": "
",
}
`;
@@ -567,14 +535,6 @@ exports[`dompurify compatibility > Img element inside noscript terminated inside
}
`;
-exports[`dompurify compatibility > Img element inside shadow DOM template > Img element inside shadow DOM template 1`] = `
-{
- "expected": "
@shafigullin",
- "payload": "
@shafigullin",
- "result": "
",
-}
-`;
-
exports[`dompurify compatibility > Inline SVG (data-uri) > Inline SVG (data-uri) 1`] = `
{
"expected": [
@@ -889,6 +849,6 @@ exports[`dompurify compatibility > src Attributes for IMG, AUDIO, VIDEO and SOUR
{
"expected": "