summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-26 15:43:58 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-26 15:43:58 -0700
commit7b27cc6758e4516203b4dad5710e8691139cc70c (patch)
tree47846fcb628dfb3deea8cf9aa620ed751786d112 /src
parent107aa2497d97ee6c2d10bb513e9e3a1a30a74d89 (diff)
EPUB writer: Remove linear=no from cover itemref.
Closes #1609.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/EPUB.hs2
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