diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-11-02 21:10:08 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-11-02 21:10:08 -0700 |
commit | e9542a60b5d021fd99983767be156f05a9942d27 (patch) | |
tree | f245f821195daef13c8a3c4c7aa994f371d58f5e /src/Text/Pandoc | |
parent | 63bed5dc2e704fff06d1273a030ea580a1a7db0d (diff) | |
download | pandoc-e9542a60b5d021fd99983767be156f05a9942d27.tar.gz |
EPUB: Added properties attribute.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/EPUB.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/EPUB.hs b/src/Text/Pandoc/Writers/EPUB.hs index e9a8b3de7..fb4429f80 100644 --- a/src/Text/Pandoc/Writers/EPUB.hs +++ b/src/Text/Pandoc/Writers/EPUB.hs @@ -195,7 +195,9 @@ writeEPUB version opts doc@(Pandoc meta _) = do , unode "item" ! [("id","style"), ("href","stylesheet.css") ,("media-type","text/css")] $ () ] ++ - [ unode "item" ! [("id","nav"), ("href","nav.xhtml") + [ unode "item" ! [("id","nav") + ,("href","nav.xhtml") + ,("properties","nav") ,("media-type","application/xhtml+xml")] $ () | version == EPUB3 ] ++ |