1
0
mirror of https://github.com/ciromattia/kcc synced 2026-01-03 03:49:36 +00:00

Closing media-type might be good idea

:-)
This commit is contained in:
Paweł Jastrzębski
2013-03-05 14:02:03 +01:00
parent 7672b76b00
commit 3848c8da57

View File

@@ -190,7 +190,7 @@ def buildOPF(profile, dstdir, title, filelist, cover=None, righttoleft=False):
if (options.profile == 'K4' or options.profile == 'KHD') and splittedSomething:
f.write("<item id=\"blank-page\" href=\""
+ os.path.join('Text', 'blank.html')
+ " media-type=\"application/xhtml+xml\"/>\n")
+ "\" media-type=\"application/xhtml+xml\"/>\n")
f.write("</manifest>\n<spine toc=\"ncx\">\n")
for entry in reflist:
if entry.endswith("-1"):