From: Jack Robertson Date: Mon, 6 Jul 2020 20:00:26 +0000 (+0100) Subject: fix(compiler-core): add `\r` to accepted chars after end tag name (#1515) X-Git-Tag: v3.0.0-beta.19~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64e2f4643602c5980361e66674141e61ba60ef70;p=thirdparty%2Fvuejs%2Fcore.git fix(compiler-core): add `\r` to accepted chars after end tag name (#1515) fix #1476 --- diff --git a/packages/compiler-core/src/parse.ts b/packages/compiler-core/src/parse.ts index 4a7dc541e2..5212480fc7 100644 --- a/packages/compiler-core/src/parse.ts +++ b/packages/compiler-core/src/parse.ts @@ -950,6 +950,6 @@ function startsWithEndTagOpen(source: string, tag: string): boolean { return ( startsWith(source, ']/.test(source[2 + tag.length] || '>') + /[\t\r\n\f />]/.test(source[2 + tag.length] || '>') ) }