Merge pull request #1061 from heurist/epub_coverLinear

Epub Writer: Refactor unnecessary list ++
This commit is contained in:
John MacFarlane 2013-11-19 09:24:44 -08:00
commit 4566309dd5

View file

@ -260,8 +260,11 @@ writeEPUB opts doc@(Pandoc meta _) = do
else "no")] $ ()) :
map chapterRefNode chapterEntries)
, unode "guide" $
unode "reference" !
[("type","toc"),("title",plainTitle),("href","nav.xhtml")] $ ()
[ unode "reference" !
[("type","toc"),("title",plainTitle),("href","nav.xhtml")] $ ()
, unode "reference" !
[("type","cover"),("title","Cover"),("href","cover.xhtml")] $ ()
]
]
let contentsEntry = mkEntry "content.opf" contentsData