Revert "Merge pull request #185 from ISSIntel/liquid-utf8"

This reverts commit c5dfcd29b0, reversing
changes made to f7d1e1d0c1.
This commit is contained in:
Tom Burns
2013-05-20 19:53:13 -04:00
parent 690b3ff27f
commit 8913a5615a
13 changed files with 9 additions and 50 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ module Liquid
if match[2].match(/#{FilterSeparator}\s*(.*)/o)
filters = Regexp.last_match(1).scan(FilterParser)
filters.each do |f|
if matches = f.match(/\s*(#{WordRegex}+)(?:\s*#{FilterArgumentSeparator}(.*))?/)
if matches = f.match(/\s*(\w+)(?:\s*#{FilterArgumentSeparator}(.*))?/)
filtername = matches[1]
filterargs = matches[2].to_s.scan(/(?:\A|#{ArgumentSeparator})\s*((?:\w+\s*\:\s*)?#{QuotedFragment})/o).flatten
@filters << [filtername, filterargs]