From 64e2f4643602c5980361e66674141e61ba60ef70 Mon Sep 17 00:00:00 2001 From: Jack Robertson Date: Mon, 6 Jul 2020 21:00:26 +0100 Subject: [PATCH] fix(compiler-core): add `\r` to accepted chars after end tag name (#1515) fix #1476 --- packages/compiler-core/src/parse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/compiler-core/src/parse.ts b/packages/compiler-core/src/parse.ts index 4a7dc541..5212480f 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] || '>') ) }