mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Fix #156.
This commit is contained in:
parent
0128e3bb01
commit
aacaabba66
@ -489,7 +489,7 @@ class HTMLConverter(object):
|
|||||||
self.current_page = self.book.create_page()
|
self.current_page = self.book.create_page()
|
||||||
self.current_block = self.book.create_text_block()
|
self.current_block = self.book.create_text_block()
|
||||||
self.current_para = Paragraph()
|
self.current_para = Paragraph()
|
||||||
if self.cover:
|
if self.cover and self.is_root:
|
||||||
self.add_image_page(self.cover)
|
self.add_image_page(self.cover)
|
||||||
self.top = self.current_block
|
self.top = self.current_block
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user