mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 09:20:42 -07:00
don't add a breaking change to Parser constructor
This commit is contained in:
@@ -30,7 +30,8 @@ module Liquid
|
||||
end
|
||||
|
||||
def new_parser(input)
|
||||
Parser.new(input, @string_scanner)
|
||||
@string_scanner.string = input
|
||||
Parser.new(@string_scanner)
|
||||
end
|
||||
|
||||
def new_tokenizer(source, start_line_number: nil, for_liquid_tag: false)
|
||||
|
||||
Reference in New Issue
Block a user