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