summaryrefslogtreecommitdiff
path: root/src/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-08-08 23:18:19 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-08-08 23:18:19 -0700
commitdfa4b76630837560189844eb79c83abcb619b0f6 (patch)
tree5b7c1f288b16367fcfef56c7b47051098c56da6a /src/pandoc.hs
parent34f1f9716b620e3c50b7298abb6a78055d300ae8 (diff)
Changes to literate haskell options.
- Removed writerLiterateHaskell from WriterOptions. - Removed readerLiterateHaskell from ReaderOptions. - Added Ext_literate_haskell to Extensions. Test for this instead of the above. - Removed failUnlessLHS from Shared. Note: At this point, +lhs and .lhs extension no longer has any effect. Need to fix.
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r--src/pandoc.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index 50dfb59f3..e7a378826 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -980,9 +980,6 @@ main = do
, readerColumns = columns
, readerTabStop = tabStop
, readerOldDashes = oldDashes
- , readerLiterateHaskell =
- "+lhs" `isSuffixOf` readerName' ||
- lhsExtension sources
, readerCitations = map CSL.refId refs
, readerIndentedCodeClasses = codeBlockClasses
, readerApplyMacros = not laTeXOutput
@@ -1005,7 +1002,6 @@ main = do
writerReferenceLinks = referenceLinks,
writerWrapText = wrap,
writerColumns = columns,
- writerLiterateHaskell = False,
writerEmailObfuscation = if strict
then ReferenceObfuscation
else obfuscationMethod,