mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-11-24 23:35:01 -05:00
Pass trough guide entries used by MOBI output
This commit is contained in:
parent
8e9590373f
commit
6697b9bbb3
@ -34,7 +34,8 @@ class Clean(object):
|
||||
|
||||
for x in list(self.oeb.guide):
|
||||
href = urldefrag(self.oeb.guide[x].href)[0]
|
||||
if x.lower() not in ('cover', 'titlepage', 'masthead'):
|
||||
if x.lower() not in ('cover', 'titlepage', 'masthead', 'toc',
|
||||
'title-page', 'copyright-page'):
|
||||
self.oeb.guide.remove(x)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user