diff --git a/packages/compiler-core/src/parse.ts b/packages/compiler-core/src/parse.ts index 6ed4e8bb5..a26923e77 100644 --- a/packages/compiler-core/src/parse.ts +++ b/packages/compiler-core/src/parse.ts @@ -117,58 +117,64 @@ function parseChildren( const s = context.source let node: TemplateChildNode | TemplateChildNode[] | undefined = undefined - if (!context.inPre && startsWith(s, context.options.delimiters[0])) { - // '{{' - node = parseInterpolation(context, mode) - } else if (mode === TextModes.DATA && s[0] === '<') { - // https://html.spec.whatwg.org/multipage/parsing.html#tag-open-state - if (s.length === 1) { - emitError(context, ErrorCodes.EOF_BEFORE_TAG_NAME, 1) - } else if (s[1] === '!') { - // https://html.spec.whatwg.org/multipage/parsing.html#markup-declaration-open-state - if (startsWith(s, '