summaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-01-14 21:00:22 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-25 17:07:42 +0100
commit5bf912577092fd1fd8874ccc89370396f22b5388 (patch)
tree16cecc3456e1bf7e339a6ccfa2826915cc4d6abd /pandoc.hs
parent6f8b967d98ea4270aa2492688fbcdfe8bad150b2 (diff)
Removed readerOldDashes and --old-dashes option, added old_dashes extension.
API change. CLI option change.
Diffstat (limited to 'pandoc.hs')
-rw-r--r--pandoc.hs9
1 files changed, 0 insertions, 9 deletions
diff --git a/pandoc.hs b/pandoc.hs
index 371ad16e0..5d3b85f6e 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -112,7 +112,6 @@ convertWithOpts opts args = do
, optSectionDivs = sectionDivs
, optIncremental = incremental
, optSelfContained = selfContained
- , optOldDashes = oldDashes
, optHtml5 = html5
, optHtmlQTags = htmlQTags
, optHighlight = highlight
@@ -302,7 +301,6 @@ convertWithOpts opts args = do
, readerParseRaw = parseRaw
, readerColumns = columns
, readerTabStop = tabStop
- , readerOldDashes = oldDashes
, readerIndentedCodeClasses = codeBlockClasses
, readerApplyMacros = not laTeXOutput
, readerDefaultImageExtension = defaultImageExtension
@@ -546,7 +544,6 @@ data Opt = Opt
, optSectionDivs :: Bool -- ^ Put sections in div tags in HTML
, optIncremental :: Bool -- ^ Use incremental lists in Slidy/Slideous/S5
, optSelfContained :: Bool -- ^ Make HTML accessible offline
- , optOldDashes :: Bool -- ^ Parse dashes like pandoc <=1.8.2.1
, optHtml5 :: Bool -- ^ Produce HTML5 in HTML
, optHtmlQTags :: Bool -- ^ Use <q> tags in HTML
, optHighlight :: Bool -- ^ Highlight source code
@@ -611,7 +608,6 @@ defaultOpts = Opt
, optSectionDivs = False
, optIncremental = False
, optSelfContained = False
- , optOldDashes = False
, optHtml5 = False
, optHtmlQTags = False
, optHighlight = True
@@ -689,11 +685,6 @@ options =
(\opt -> return opt { optParseRaw = True }))
"" -- "Parse untranslatable HTML codes and LaTeX environments as raw"
- , Option "" ["old-dashes"]
- (NoArg
- (\opt -> return opt { optOldDashes = True }))
- "" -- "Use smart quotes, dashes, and ellipses"
-
, Option "" ["base-header-level"]
(ReqArg
(\arg opt ->