mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d126f52d4c
commit
8d520400c5
@ -454,7 +454,9 @@ def map_epub_type(epub_type, attribs, elem):
|
|||||||
if in_attribs is None:
|
if in_attribs is None:
|
||||||
attribs.append(['role', role])
|
attribs.append(['role', role])
|
||||||
else:
|
else:
|
||||||
attribs[i] = ['role', role]
|
attribs[in_attribs] = ['role', role]
|
||||||
|
return True
|
||||||
|
return False
|
||||||
|
|
||||||
|
|
||||||
known_tags = ('img', 'script', 'link', 'image', 'style')
|
known_tags = ('img', 'script', 'link', 'image', 'style')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user