fix(compiler-core): fix self-closing tags with v-pre

This commit is contained in:
Evan You
2021-07-19 19:29:28 -04:00
parent 7e75b4105a
commit a21ca3dccc
2 changed files with 60 additions and 0 deletions

View File

@@ -430,6 +430,9 @@ function parseElement(
if (isPreBoundary) {
context.inPre = false
}
if (isVPreBoundary) {
context.inVPre = false
}
return element
}