Add notifier text preview

This commit is contained in:
JonnyWong16 2016-11-02 22:52:24 -07:00
parent cb5252b8d4
commit d874697eef
6 changed files with 91 additions and 4 deletions

View file

@ -39,7 +39,7 @@ class BleachSanitizerMixin(HTMLSanitizerMixin):
if isinstance(self.allowed_attributes, dict):
allowed_attributes = self.allowed_attributes.get(
token['name'], [])
print callable(allowed_attributes)
#print callable(allowed_attributes)
if not callable(allowed_attributes):
allowed_attributes += self.wildcard_attributes
else: