fix: interpreter code for disabled and dangerous innter html
This commit is contained in:
1 parent
ea7dfd8be4
commit
f98c3f161f
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user