Fix #804755 ([Enhancement] Convert ePub Start Tag Correctly)

This commit is contained in:
Kovid Goyal 2011-07-16 14:58:53 -06:00
parent 3117c0d867
commit 8291a849a0

View File

@ -36,5 +36,8 @@ class Clean(object):
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)