From c37db57c9a4f2d812ae75371757ccaa2bbe8ecef Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 15 Dec 2014 10:22:19 -0800 Subject: EPUB writer: Removed playOrder from navpoint elements in ncx file. These aren't required, and they make manual modification of epubs difficult. Closes #1760. --- src/Text/Pandoc/Writers/EPUB.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Text/Pandoc/Writers/EPUB.hs b/src/Text/Pandoc/Writers/EPUB.hs index 2291c7184..3f9c6a606 100644 --- a/src/Text/Pandoc/Writers/EPUB.hs +++ b/src/Text/Pandoc/Writers/EPUB.hs @@ -570,8 +570,7 @@ writeEPUB opts doc@(Pandoc meta _) = do let navMapFormatter :: Int -> String -> String -> [Element] -> Element navMapFormatter n tit src subs = unode "navPoint" ! - [("id", "navPoint-" ++ show n) - ,("playOrder", show n)] $ + [("id", "navPoint-" ++ show n)] $ [ unode "navLabel" $ unode "text" tit , unode "content" ! [("src", src)] $ () ] ++ subs -- cgit v1.2.3