EPUB writer: Avoid excess whitespace in nav.xhtml.

This should improve TOC view in iBooks.  Closes #1392.
This commit is contained in:
John MacFarlane
2014-07-20 23:28:44 -07:00
parent 64c7a0ab76
commit 0f970ed95b
+1 -1
View File
@@ -581,7 +581,7 @@ writeEPUB opts doc@(Pandoc meta _) = do
navXhtmlFormatter n tit src subs = unode "li" !
[("id", "toc-li-" ++ show n)] $
(unode "a" ! [("href",src)]
$ (unode "span" tit))
$ tit)
: case subs of
[] -> []
(_:_) -> [unode "ol" ! [("class","toc")] $ subs]