|
@@ -222,7 +222,7 @@ export function parseHTML (html, options) {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- const unary = isUnaryTag(tagName) || tagName === 'html' && lastTag === 'head' || !!unarySlash
|
|
|
|
|
|
|
+ const unary = isUnaryTag(tagName) || !!unarySlash
|
|
|
|
|
|
|
|
const l = match.attrs.length
|
|
const l = match.attrs.length
|
|
|
const attrs = new Array(l)
|
|
const attrs = new Array(l)
|