From 7b27cc6758e4516203b4dad5710e8691139cc70c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 26 Apr 2015 15:43:58 -0700 Subject: EPUB writer: Remove linear=no from cover itemref. Closes #1609. --- src/Text/Pandoc/Writers/EPUB.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Writers') diff --git a/src/Text/Pandoc/Writers/EPUB.hs b/src/Text/Pandoc/Writers/EPUB.hs index 59eda6724..9c6085a76 100644 --- a/src/Text/Pandoc/Writers/EPUB.hs +++ b/src/Text/Pandoc/Writers/EPUB.hs @@ -531,7 +531,7 @@ writeEPUB opts doc@(Pandoc meta _) = do case epubCoverImage metadata of Nothing -> [] Just _ -> [ unode "itemref" ! - [("idref", "cover_xhtml"),("linear","no")] $ () ] + [("idref", "cover_xhtml")] $ () ] ++ ((unode "itemref" ! [("idref", "title_page_xhtml") ,("linear", case lookupMeta "title" meta of -- cgit v1.2.3