mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Stripping !important from newsletters.
This commit is contained in:
parent
867a7e8555
commit
bec04a4e4e
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue