aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-11-04 12:51:17 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-11-04 12:51:17 -0800
commitb69792e2ed73e4a572a3f2d75d46e02a7d190b5c (patch)
treecf3ea1a95c51bace63147faaa8886bfe61d96757 /src/Text/Pandoc/Writers
parenta2cb53640defcbd672ae26d517ee54479a13a32a (diff)
downloadpandoc-b69792e2ed73e4a572a3f2d75d46e02a7d190b5c.tar.gz
EPUB: Use section divs by default for better semantic markup.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/EPUB.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/EPUB.hs b/src/Text/Pandoc/Writers/EPUB.hs
index dfe70bccb..13c5478e6 100644
--- a/src/Text/Pandoc/Writers/EPUB.hs
+++ b/src/Text/Pandoc/Writers/EPUB.hs
@@ -78,6 +78,7 @@ writeEPUB version opts doc@(Pandoc meta _) = do
let mkEntry path content = toEntry path epochtime content
let opts' = opts{ writerEmailObfuscation = NoObfuscation
, writerStandalone = True
+ , writerSectionDivs = True
, writerHTMLMathMethod =
if epub3
then MathML Nothing