mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-19 02:40:41 -07:00
Add taint warnings to the context rather than the template.
This commit is contained in:
@@ -33,6 +33,10 @@ module Liquid
|
||||
@filters = []
|
||||
end
|
||||
|
||||
def warnings
|
||||
@warnings ||= []
|
||||
end
|
||||
|
||||
def strainer
|
||||
@strainer ||= Strainer.create(self, @filters)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user