mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Fix #804755 ([Enhancement] Convert ePub Start Tag Correctly)
This commit is contained in:
parent
3117c0d867
commit
8291a849a0
1 changed files with 3 additions and 0 deletions
|
|
@ -36,5 +36,8 @@ def __call__(self, oeb, opts):
|
|||
href = urldefrag(self.oeb.guide[x].href)[0]
|
||||
if x.lower() not in ('cover', 'titlepage', 'masthead', 'toc',
|
||||
'title-page', 'copyright-page', 'start'):
|
||||
item = self.oeb.guide[x]
|
||||
if item.title and item.title.lower() == 'start':
|
||||
continue
|
||||
self.oeb.guide.remove(x)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue