mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
EPUB3 Input: Handle EPUB 3 files that incorrectly use EPUB 2 markup to identify cover images.
This commit is contained in:
parent
550a633a3e
commit
cffafb019c
@ -118,7 +118,7 @@ class EPUBInput(InputFormatPlugin):
|
||||
guide_titlepage_id = idref
|
||||
break
|
||||
|
||||
raster_cover_href = opf.epub3_raster_cover
|
||||
raster_cover_href = opf.epub3_raster_cover or opf.raster_cover
|
||||
if raster_cover_href:
|
||||
self.set_guide_type(opf, 'cover', raster_cover_href, 'Cover Image')
|
||||
titlepage_id = titlepage_href = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user