summaryrefslogtreecommitdiff
path: root/src/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-07-27 09:18:51 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-07-27 09:18:51 -0700
commitb98219773b45ed43268204e59c494f45b4455d2c (patch)
tree8b03fdf2ba378064439f3132fb8c7d541930d8b4 /src/pandoc.hs
parent00dc1e715e6317ab499c864137bb2a6bf7a75364 (diff)
Replaced writerStrict with writerExtensions in WriterOptions.
Still have not implemented individual tests for all the extensions in the markdown writer.
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r--src/pandoc.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index 2a7950fe7..d60f9ec12 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -969,7 +969,10 @@ main = do
writerIgnoreNotes = False,
writerNumberSections = numberSections,
writerSectionDivs = sectionDivs,
- writerStrictMarkdown = strict,
+ writerExtensions = if strict
+ then Set.empty
+ else Set.fromList
+ [minBound..maxBound],
writerReferenceLinks = referenceLinks,
writerWrapText = wrap,
writerColumns = columns,