We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edb2401 commit b8199d3Copy full SHA for b8199d3
1 file changed
src/vhtml.js
@@ -31,10 +31,9 @@ export default function h(name, attrs) {
31
s += ` ${DOMAttributeNames[i] ? DOMAttributeNames[i] : esc(i)}="${esc(attrs[i])}"`;
32
}
33
34
+ s += '>';
35
36
if (emptyTags.indexOf(name) === -1) {
- s += '>';
37
-
38
if (attrs && attrs[setInnerHTMLAttr]) {
39
s += attrs[setInnerHTMLAttr].__html;
40
@@ -51,8 +50,6 @@ export default function h(name, attrs) {
51
50
52
53
s += `</${name}>`;
54
- } else {
55
56
57
58
sanitized[s] = true;
0 commit comments