Stripping !important from newsletters.

This commit is contained in:
Samuel Clay 2016-03-08 15:56:15 -08:00
parent 867a7e8555
commit bec04a4e4e

View file

@ -122,7 +122,9 @@ class EmailNewsletter:
def clean_content(self, content):
scrubber = Scrubber()
return scrubber.scrub(content)
content = scrubber.scrub(content)
content = content.replace('!important', '')
return content
def publish_to_subscribers(self, feed):
try: