mirror of https://github.com/vuejs/core.git
chore: update
This commit is contained in:
parent
b2c11e4c68
commit
4570da0c38
|
@ -124,8 +124,7 @@ function adoptTemplateImpl(node: Node, template: string): Node | null {
|
||||||
isComment(node, ']') &&
|
isComment(node, ']') &&
|
||||||
isComment(node.previousSibling!, '[')
|
isComment(node.previousSibling!, '[')
|
||||||
) {
|
) {
|
||||||
const parent = parentNode(node)!
|
node.before((node = createTextNode()))
|
||||||
node = parent.insertBefore(createTextNode(), node)
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue