summaryrefslogtreecommitdiff
path: root/src/pandoc.hs
diff options
context:
space:
mode:
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,