mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 17:30:43 -07:00
Update lib/liquid/standardfilters.rb
Co-authored-by: Dylan Thacker-Smith <[email protected]>
This commit is contained in:
co-authored by
Dylan Thacker-Smith
parent
f17c49776d
commit
5187399fd4
@@ -303,7 +303,7 @@ module Liquid
|
||||
|
||||
# remove a substring
|
||||
def remove(input, string)
|
||||
replace(input.to_s, string, '')
|
||||
replace(input, string, '')
|
||||
end
|
||||
|
||||
# remove the first occurrences of a substring
|
||||
|
||||
Reference in New Issue
Block a user