summaryrefslogtreecommitdiff
path: root/src/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-07-23 22:58:16 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-07-23 22:58:16 -0700
commitfb6e7989170ac73e75f6ecdf79b8aaca5d353c76 (patch)
tree16299982ea59cf8761f6ff21ee3658128c449fc8 /src/pandoc.hs
parent1bd0c479685fd009ba3c808e6fea3fac24f26428 (diff)
Set writerTableOfContents for s5 in Text.Pandoc, not pandoc.hs.
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r--src/pandoc.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index 631ed9d91..5cebab28f 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -952,8 +952,7 @@ main = do
writerVariables = variables'',
writerEPUBMetadata = epubMetadata,
writerTabStop = tabStop,
- writerTableOfContents = toc &&
- writerName' /= "s5",
+ writerTableOfContents = toc,
writerHTMLMathMethod = mathMethod,
writerIncremental = incremental,
writerCiteMethod = citeMethod,