diff --git a/lib/liquid/parser.rb b/lib/liquid/parser.rb index 1b69330d..af259968 100644 --- a/lib/liquid/parser.rb +++ b/lib/liquid/parser.rb @@ -8,6 +8,7 @@ module Liquid end def tokenize(input) + # "foo.bar | filter: baz, qux" becomes ["foo", ".", "bar", "|", "filter", ":", "baz", ",", "qux"] input.split(/\b/).map {|tok| tok.strip} end end