mirror of
https://github.com/kemko/liquid.git
synced 2026-01-07 18:55:41 +03:00
Plug Optimizer in Document.parse
This commit is contained in:
@@ -5,7 +5,7 @@ module Liquid
|
||||
def self.parse(tokens, parse_context)
|
||||
doc = new(parse_context)
|
||||
doc.parse(tokens, parse_context)
|
||||
doc
|
||||
Optimizer.new.optimize(doc)
|
||||
end
|
||||
|
||||
attr_reader :parse_context, :body
|
||||
|
||||
Reference in New Issue
Block a user