lib/liquid/template.rb in locomotive_liquid-2.1.3 vs lib/liquid/template.rb in locomotive_liquid-2.2.2

- old
+ new

@@ -53,10 +53,10 @@ end # Parse source code. # Returns self for easy chaining def parse(source, context = {}) - @root = Document.new(tokenize(source), context.merge!(:template => self)) + @root = Document.new(tokenize(Liquid::Literal.from_shorthand(source)), context.merge!(:template => self)) self end def registers @registers ||= {}