Skip to content

Commit

Permalink
bring back to_s.to_str
Browse files Browse the repository at this point in the history
  • Loading branch information
bahar-p committed Dec 17, 2024
1 parent a0a4307 commit 0c49dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/liquid/tokenizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Tokenizer
attr_reader :line_number, :for_liquid_tag

def initialize(source, line_numbers = false, line_number: nil, for_liquid_tag: false)
@source = source.to_s
@source = source.to_s.to_str
@line_number = line_number || (line_numbers ? 1 : nil)
@for_liquid_tag = for_liquid_tag
@offset = 0
Expand Down

0 comments on commit 0c49dd5

Please sign in to comment.