git.iko.soy/typeable/pandoc
on master help sign in
EPUB: Added properties attribute.
e9542a6John MacFarlane
src/Text/Pandoc/Writers/EPUB.hs+3−1
@@ -195,7 +195,9 @@ writeEPUB version opts doc@(Pandoc meta _) = do
195 , unode "item" ! [("id","style"), ("href","stylesheet.css")
195 , unode "item" ! [("id","style"), ("href","stylesheet.css")
196 ,("media-type","text/css")] $ ()
196 ,("media-type","text/css")] $ ()
197 ] ++
197 ] ++
198− [ unode "item" ! [("id","nav"), ("href","nav.xhtml")
198+ [ unode "item" ! [("id","nav")
199+ ,("href","nav.xhtml")
200+ ,("properties","nav")
199 ,("media-type","application/xhtml+xml")] $ ()
201 ,("media-type","application/xhtml+xml")] $ ()
200 | version == EPUB3
202 | version == EPUB3
201 ] ++
203 ] ++