summaryrefslogtreecommitdiff
path: root/src/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-08-06 22:13:24 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-08-06 22:14:35 -0700
commit8a101cffe36f4d6301ff45fd1b491bad1fcf1244 (patch)
tree30613e2563ded117b6aa0bb5f0c08d872edf3517 /src/pandoc.hs
parentdc071f807dcc0cfc2f6d9860a7c0878db6aded0c (diff)
Support hard_line_breaks markdown extension.
* Added Ext_hard_line_breaks. * Added section in README on non-pandoc extensions. * Exported pandocExtensions and strictExtensions in Text.Pandoc.Options. Closes #514.
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r--src/pandoc.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index 549378ef0..50dfb59f3 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -964,8 +964,8 @@ main = do
else takeDirectory (head sources)
let defaultExts = if strict
- then Set.empty
- else Set.fromList [minBound..maxBound]
+ then strictExtensions
+ else pandocExtensions
let extensions = foldl (\acc (inc,ext) -> if inc
then Set.insert ext acc