git.iko.soy/typeable/pandoc
on master help sign in
EPUB writer: Remove linear=no from cover itemref.

Closes #1609.

commit7b27cc6758e4516203b4dad5710e8691139cc70c authorJohn MacFarlane <jgm@berkeley.edu> dateSun 26 Apr 2015, 15:43 (12 years ago) parent107aa24
1 file changed+1−1
src/Text/Pandoc/Writers/EPUB.hs+1−1
src/Text/Pandoc/Writers/EPUB.hs+1−1
@@ -531,7 +531,7 @@ writeEPUB opts doc@(Pandoc meta _) = do
531531 case epubCoverImage metadata of
532532 Nothing -> []
533533 Just _ -> [ unode "itemref" !
534− [("idref", "cover_xhtml"),("linear","no")] $ () ]
534+ [("idref", "cover_xhtml")] $ () ]
535535 ++ ((unode "itemref" ! [("idref", "title_page_xhtml")
536536 ,("linear",
537537 case lookupMeta "title" meta of