diff options
author | John MacFarlane <jgm@berkeley.edu> | 2012-08-07 13:17:30 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2012-08-07 13:17:30 -0700 |
commit | f9f6e5ec6fb8ff96228bba05384093cb86638408 (patch) | |
tree | c5a77b09dbfa52bf564957db0f7b9400b0d53542 /src | |
parent | 8a101cffe36f4d6301ff45fd1b491bad1fcf1244 (diff) | |
download | pandoc-f9f6e5ec6fb8ff96228bba05384093cb86638408.tar.gz |
Made pandocExtensions default for reader/writer options.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Options.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Options.hs b/src/Text/Pandoc/Options.hs index 5fe92c1fd..e3dc29215 100644 --- a/src/Text/Pandoc/Options.hs +++ b/src/Text/Pandoc/Options.hs @@ -137,7 +137,7 @@ data ReaderOptions = ReaderOptions{ instance Default ReaderOptions where def = ReaderOptions{ - readerExtensions = Set.fromList [minBound..maxBound] + readerExtensions = pandocExtensions , readerSmart = False , readerStrict = False , readerStandalone = False @@ -236,7 +236,7 @@ instance Default WriterOptions where , writerIgnoreNotes = False , writerNumberSections = False , writerSectionDivs = False - , writerExtensions = Set.fromList [minBound..maxBound] + , writerExtensions = pandocExtensions , writerReferenceLinks = False , writerWrapText = True , writerColumns = 72 |