From e9542a60b5d021fd99983767be156f05a9942d27 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 2 Nov 2012 21:10:08 -0700 Subject: EPUB: Added properties attribute. --- src/Text/Pandoc/Writers/EPUB.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Text/Pandoc') 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 ] ++ -- cgit v1.2.3