mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
initialize StringScanner with input for default
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ module Liquid
|
||||
WHITESPACE_OR_NOTHING = /\s*/
|
||||
|
||||
class << self
|
||||
def tokenize(input, ss = StringScanner.new(""))
|
||||
def tokenize(input, ss = StringScanner.new(input))
|
||||
ss.string = input
|
||||
output = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user