diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-04-26 15:43:58 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-04-26 15:43:58 -0700 |
commit | 7b27cc6758e4516203b4dad5710e8691139cc70c (patch) | |
tree | 47846fcb628dfb3deea8cf9aa620ed751786d112 | |
parent | 107aa2497d97ee6c2d10bb513e9e3a1a30a74d89 (diff) | |
download | pandoc-7b27cc6758e4516203b4dad5710e8691139cc70c.tar.gz |
EPUB writer: Remove linear=no from cover itemref.
Closes #1609.
-rw-r--r-- | src/Text/Pandoc/Writers/EPUB.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |