aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-08-07 13:17:30 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-08-07 13:17:30 -0700
commitf9f6e5ec6fb8ff96228bba05384093cb86638408 (patch)
treec5a77b09dbfa52bf564957db0f7b9400b0d53542 /src
parent8a101cffe36f4d6301ff45fd1b491bad1fcf1244 (diff)
downloadpandoc-f9f6e5ec6fb8ff96228bba05384093cb86638408.tar.gz
Made pandocExtensions default for reader/writer options.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Options.hs4
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