diff --git a/src/compiler/parser/index.js b/src/compiler/parser/index.js index c33cf3c4..a10658a7 100644 --- a/src/compiler/parser/index.js +++ b/src/compiler/parser/index.js @@ -251,7 +251,7 @@ export function parse ( text }) } else if (text !== ' ' || !children.length || children[children.length - 1].text !== ' ') { - currentParent.children.push({ + children.push({ type: 3, text })