This commit is contained in:
Kovid Goyal 2013-02-15 17:14:45 +05:30
parent 173a3cbd9c
commit 32ccbf1807

View File

@ -105,7 +105,7 @@ class EPUBInput(InputFormatPlugin):
removed = guide_cover removed = guide_cover
else: else:
# Ensure the cover is displayed as the first item in the book, some # Ensure the cover is displayed as the first item in the book, some
# epub files have it set with liner='no' which causes the cover to # epub files have it set with linear='no' which causes the cover to
# display in the end # display in the end
spine[0].attrib.pop('linear', None) spine[0].attrib.pop('linear', None)
opf.spine[0].is_linear = True opf.spine[0].is_linear = True