From 287a7c4abdb53884d4b16c9c2a978fe4971df86e Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Thu, 30 Apr 2020 00:11:08 -0700 Subject: [PATCH] Don't parse index and key for with block --- src/compiler/parse/state/mustache.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/parse/state/mustache.ts b/src/compiler/parse/state/mustache.ts index a9dea41d03..5d9b133852 100644 --- a/src/compiler/parse/state/mustache.ts +++ b/src/compiler/parse/state/mustache.ts @@ -284,7 +284,9 @@ export default function mustache(parser: Parser) { block.context = read_context(parser); parser.allow_whitespace(); + } + if (type == 'EachBlock') { if (parser.eat(',')) { parser.allow_whitespace(); block.index = parser.read_identifier();