mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
Don't allow - to end a variable name
This commit is contained in:
@@ -77,7 +77,7 @@ module Liquid
|
||||
str = consume(:id)
|
||||
while consume?(:dash)
|
||||
str << "-".freeze
|
||||
str << consume(:id) if look(:id)
|
||||
str << consume(:id)
|
||||
end
|
||||
if consume?(:question)
|
||||
str << "?".freeze
|
||||
|
||||
Reference in New Issue
Block a user