Merge pull request #1061 from heurist/epub_coverLinear
Epub Writer: Refactor unnecessary list ++
This commit is contained in:
commit
4566309dd5
1 changed files with 5 additions and 2 deletions
|
@ -260,8 +260,11 @@ writeEPUB opts doc@(Pandoc meta _) = do
|
|||
else "no")] $ ()) :
|
||||
map chapterRefNode chapterEntries)
|
||||
, unode "guide" $
|
||||
unode "reference" !
|
||||
[ unode "reference" !
|
||||
[("type","toc"),("title",plainTitle),("href","nav.xhtml")] $ ()
|
||||
, unode "reference" !
|
||||
[("type","cover"),("title","Cover"),("href","cover.xhtml")] $ ()
|
||||
]
|
||||
]
|
||||
let contentsEntry = mkEntry "content.opf" contentsData
|
||||
|
||||
|
|
Loading…
Reference in a new issue