add altimg to link_attrs

This commit is contained in:
NogNoa 2023-06-21 17:44:42 +03:00
parent e365da1dc2
commit b5d6e0a964

View File

@ -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):