diff --git a/src/compiler/parser/html-parser.js b/src/compiler/parser/html-parser.js index 4e4c0686758..c49aec09da3 100644 --- a/src/compiler/parser/html-parser.js +++ b/src/compiler/parser/html-parser.js @@ -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 attrs = new Array(l)