Fix strict parsing of find variable with a name expression

This commit is contained in:
Dylan Thacker-Smith
2020-10-19 12:17:25 -04:00
parent 420a1c79e1
commit 46fd63da5f
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -52,6 +52,11 @@ module Liquid
when :id
str = consume
str << variable_lookups
when :open_square
str = consume
str << expression
str << consume(:close_square)
str << variable_lookups
when :string, :number
consume
when :open_round