mirror of
https://github.com/kemko/liquid.git
synced 2026-01-08 19:25:40 +03: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