We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95ca937 commit 5512b63Copy full SHA for 5512b63
src/compiler/compile/render_dom/wrappers/Element/Attribute.ts
@@ -68,7 +68,7 @@ export default class AttributeWrapper extends BaseAttributeWrapper {
68
}
69
70
71
- if (this.parent.node.namespace && this.parent.node.namespace == external) {
+ if (this.parent.node.namespace === external) {
72
// leave attribute case alone for elements in the "external" namespace
73
this.name = this.node.name;
74
this.metadata = this.get_metadata();
0 commit comments