Add taint warnings to the context rather than the template.

This commit is contained in:
Dylan Thacker-Smith
2015-07-07 15:53:02 -04:00
parent 15974d9168
commit 80b6ac3bc7
3 changed files with 18 additions and 8 deletions
+4
View File
@@ -33,6 +33,10 @@ module Liquid
@filters = []
end
def warnings
@warnings ||= []
end
def strainer
@strainer ||= Strainer.create(self, @filters)
end