We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77605d5 commit 2a49b17Copy full SHA for 2a49b17
addon/hint/xml-hint.js
@@ -31,8 +31,9 @@
31
for (var i = 0; i < childList.length; ++i) if (!prefix || childList[i].lastIndexOf(prefix, 0) == 0)
32
result.push("<" + childList[i]);
33
} else if (tagType != "close") {
34
- for (var name in tags) if (tags.hasOwnProperty(name) && name != "!top" && (!prefix || name.lastIndexOf(prefix, 0) == 0))
35
- result.push("<" + name);
+ for (var name in tags)
+ if (tags.hasOwnProperty(name) && name != "!top" && name != "!attrs" && (!prefix || name.lastIndexOf(prefix, 0) == 0))
36
+ result.push("<" + name);
37
}
38
if (cx && (!prefix || tagType == "close" && cx.tagName.lastIndexOf(prefix, 0) == 0))
39
result.push("</" + cx.tagName + ">");
0 commit comments