mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-17 01:40:42 -07:00
Prevent Range usage in templates from blowing up
This commit is contained in:
@@ -25,6 +25,12 @@ class Numeric # :nodoc:
|
||||
end
|
||||
end
|
||||
|
||||
class Range # :nodoc:
|
||||
def to_liquid
|
||||
self
|
||||
end
|
||||
end
|
||||
|
||||
class Time # :nodoc:
|
||||
def to_liquid
|
||||
self
|
||||
|
||||
Reference in New Issue
Block a user