From f9f6e5ec6fb8ff96228bba05384093cb86638408 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 7 Aug 2012 13:17:30 -0700 Subject: Made pandocExtensions default for reader/writer options. --- src/Text/Pandoc/Options.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Text/Pandoc') 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 -- cgit v1.2.3