Pass trough guide entries used by MOBI output

This commit is contained in:
Kovid Goyal 2009-07-07 15:51:00 -06:00
parent 8e9590373f
commit 6697b9bbb3
2 changed files with 17 additions and 16 deletions

View File

@ -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)