Tweaks to cover-related EPUB stuff
Helps with the validation errors noted in #22.
This commit is contained in:
parent
3865ae0f5b
commit
c6f7460b82
3 changed files with 9 additions and 5 deletions
|
|
@ -56,7 +56,7 @@ function writeOPF(chapters, contentPath, coverFiles, bookInfo) {
|
|||
<manifest>
|
||||
<item id="ncx" href="${NCX_FILENAME}" media-type="application/x-dtbncx+xml"/>
|
||||
<item id="cover" href="${coverFiles.xhtml}" media-type="application/xhtml+xml"/>
|
||||
<item id="cover-image" properties="cover-image" href="${coverFiles.image}" media-type="${coverFiles.imageMimeType}"/>
|
||||
<item id="cover-image" href="${coverFiles.image}" media-type="${coverFiles.imageMimeType}"/>
|
||||
${manifestChapters}
|
||||
</manifest>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue