From: daiwei Date: Fri, 8 Aug 2025 13:23:14 +0000 (+0800) Subject: chore: update X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4f8411968f7b49c9af40251cafcfc3ecaf6c6e2;p=thirdparty%2Fvuejs%2Fcore.git chore: update --- diff --git a/packages/runtime-vapor/src/dom/hydration.ts b/packages/runtime-vapor/src/dom/hydration.ts index 8abd4ee4b5..db7b3c30e7 100644 --- a/packages/runtime-vapor/src/dom/hydration.ts +++ b/packages/runtime-vapor/src/dom/hydration.ts @@ -103,7 +103,7 @@ function adoptTemplateImpl(node: Node, template: string): Node | null { // empty text node in slot if ( - template === ' ' && + template.trim() === '' && isComment(node, ']') && isComment(node.previousSibling!, '[') ) {