diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-07-27 09:18:51 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-07-27 09:18:51 -0700 |
commit | b98219773b45ed43268204e59c494f45b4455d2c (patch) | |
tree | 8b03fdf2ba378064439f3132fb8c7d541930d8b4 /src/pandoc.hs | |
parent | 00dc1e715e6317ab499c864137bb2a6bf7a75364 (diff) | |
download | pandoc-b98219773b45ed43268204e59c494f45b4455d2c.tar.gz |
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.hs | 5 |
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, |