mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-19 02:40:41 -07:00
Merge pull request #1889 from Shopify/default-variable-lookup-string-scanner
Add default string_scanner to `Liquid::VariableLookup.parse`
This commit is contained in:
@@ -6,7 +6,7 @@ module Liquid
|
|||||||
|
|
||||||
attr_reader :name, :lookups
|
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)
|
new(markup, string_scanner, cache)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Liquid
|
module Liquid
|
||||||
VERSION = "5.6.3"
|
VERSION = "5.6.4"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user