This commit is contained in:
Kovid Goyal 2019-09-28 11:39:16 +05:30
parent d126f52d4c
commit 8d520400c5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -454,7 +454,9 @@ def map_epub_type(epub_type, attribs, elem):
if in_attribs is None:
attribs.append(['role', role])
else:
attribs[i] = ['role', role]
attribs[in_attribs] = ['role', role]
return True
return False
known_tags = ('img', 'script', 'link', 'image', 'style')