fix: interpreter code for disabled and dangerous innter html

This commit is contained in:
Jonathan Kelley committed 2022-03-05 14:38:28 -05:00
1 parent ea7dfd8be4
commit f98c3f161f
1 file changed
+1 -1
+1 -1
View File
@@ -103,7 +103,7 @@ export class Interpreter {
if (ns === "style") {
// @ts-ignore
node.style[name] = value;
} else if (ns !== null || ns !== undefined) {
} else if (ns != null || ns != undefined) {
node.setAttributeNS(ns, name, value);
} else {
switch (name) {