mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
Use optimised 2.4 syntax
This commit is contained in:
@@ -44,7 +44,7 @@ module Liquid
|
||||
token.lstrip! if parse_context.trim_whitespace
|
||||
parse_context.trim_whitespace = false
|
||||
@nodelist << token
|
||||
@blank &&= !!(token =~ WHITESPACE_OR_NOTHING)
|
||||
@blank &&= token.match?(WHITESPACE_OR_NOTHING)
|
||||
end
|
||||
parse_context.line_number = tokenizer.line_number
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user