diff options
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/EPUB.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/EPUB.hs b/src/Text/Pandoc/Writers/EPUB.hs index e943ef17f..7062fd925 100644 --- a/src/Text/Pandoc/Writers/EPUB.hs +++ b/src/Text/Pandoc/Writers/EPUB.hs @@ -667,7 +667,7 @@ pandocToEPUB version opts doc@(Pandoc meta _) = do [ unode "reference" ! [("type","cover") ,("title","Cover") - ,("href","cover.xhtml")] $ () + ,("href","text/cover.xhtml")] $ () | isJust (epubCoverImage metadata) ] ] @@ -770,7 +770,7 @@ pandocToEPUB version opts doc@(Pandoc meta _) = do ,("hidden","hidden")] $ [ unode "ol" $ [ unode "li" - [ unode "a" ! [("href", "cover.xhtml") + [ unode "a" ! [("href", "text/cover.xhtml") ,("epub:type", "cover")] $ "Cover"] | epubCoverImage metadata /= Nothing |