EPUB writer: Removed playOrder from navpoint elements in ncx file.
These aren't required, and they make manual modification of epubs difficult. Closes #1760.
This commit is contained in:
parent
47c360e079
commit
c37db57c9a
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue