mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-18 18:30:40 -07:00
render end of string is not optional
This commit is contained in:
committed by
Guilherme Carreiro
parent
5ec3008b37
commit
5660ce6945
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user