mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-18 18:30:40 -07:00
store StringScanner in ParseContext and reuse it through parsing
This commit is contained in:
@@ -61,7 +61,7 @@ module Liquid
|
||||
|
||||
def strict_parse(markup)
|
||||
@filters = []
|
||||
p = Parser.new(markup)
|
||||
p = @parse_context.new_parser(markup)
|
||||
|
||||
return if p.look(:end_of_string)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user