mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
add altimg to link_attrs
This commit is contained in:
parent
e365da1dc2
commit
b5d6e0a964
@ -167,7 +167,7 @@ def itercsslinks(raw):
|
||||
yield match.group(1), match.start(1)
|
||||
|
||||
|
||||
_link_attrs = set(html.defs.link_attrs) | {XLINK('href'), 'poster'}
|
||||
_link_attrs = set(html.defs.link_attrs) | {XLINK('href'), 'poster', 'altimg'}
|
||||
|
||||
|
||||
def iterlinks(root, find_links_in_css=True):
|
||||
|
Loading…
x
Reference in New Issue
Block a user