mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Font tag has attrs too
This commit is contained in:
parent
971c4ddded
commit
b273b3c36c
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ class Scrubber(object):
|
|||
def _scrub_tag_font(self, node):
|
||||
attrs = {}
|
||||
if hasattr(node, 'attrs') and isinstance(node.attrs, dict):
|
||||
for k, v in node.attrs:
|
||||
for k, v in node.attrs.items():
|
||||
if k.lower() == 'size' and v.startswith('+'):
|
||||
# Remove "size=+0"
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue