render end of string is not optional

This commit is contained in:
Charles-P. Clermont
2025-10-27 16:33:31 +01:00
committed by Guilherme Carreiro
parent 5ec3008b37
commit 5660ce6945
4 changed files with 12 additions and 0 deletions
+2
View File
@@ -111,6 +111,8 @@ module Liquid
@attributes[key] = safe_parse_expression(p)
p.consume?(:comma) # optional comma
end
p.consume(:end_of_string)
end
def strict_parse(markup)
+2
View File
@@ -113,6 +113,8 @@ module Liquid
@attributes[key] = safe_parse_expression(p)
p.consume?(:comma) # optional comma
end
p.consume(:end_of_string)
end
def rigid_template_name(p)