don't add a breaking change to Parser constructor

This commit is contained in:
Michael Go
2025-01-07 14:32:46 -04:00
parent e05719fb82
commit 253ec81b56
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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)