Add default string_scanner to Liquid::VariableLookup.parse

This commit is contained in:
Ian Ker-Seymer
2025-01-13 21:56:39 -05:00
parent fe3da0e17d
commit b3f9639e7d
+1 -1
View File
@@ -6,7 +6,7 @@ module Liquid
attr_reader :name, :lookups
def self.parse(markup, string_scanner, cache = nil)
def self.parse(markup, string_scanner = StringScanner.new(""), cache = nil)
new(markup, string_scanner, cache)
end