Passing the tag attributes to the precompiler class

This commit is contained in:
Ulysses V
2012-07-23 15:28:54 -03:00
committed by Antti Hirvonen
parent 19ccaaf905
commit 09dc8498cd

View File

@@ -221,7 +221,7 @@ class Compressor(object):
raise FilterDoesNotExist('Could not find "%s".' %
filter_or_command)
else:
return True, precompiler_class(content,
return True, precompiler_class(content, attrs,
filter_type=self.type, filename=filename).input(
**kwargs)
return False, content