@@ -189,9 +189,10 @@ writeEPUB version opts doc@(Pandoc meta _) = do
189189 ,("media-type","application/x-dtbncx+xml")] $ ()
190190 , unode "item" ! [("id","style"), ("href","stylesheet.css")
191191 ,("media-type","text/css")] $ ()
192− , unode "item" ! [("id","nav"), ("href","nav.xhtml")
193− ,("properties","nav")
192+ ] ++
193+ [ unode "item" ! [("id","nav"), ("href","nav.xhtml")
194194 ,("media-type","application/xhtml+xml")] $ ()
195+ | version == EPUB3
195196 ] ++
196197 map chapterNode (cpgEntry ++ (tpEntry : chapterEntries)) ++
197198 map pictureNode (cpicEntry ++ picEntries) ++