From 5bf912577092fd1fd8874ccc89370396f22b5388 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 14 Jan 2017 21:00:22 +0100 Subject: Removed readerOldDashes and --old-dashes option, added old_dashes extension. API change. CLI option change. --- pandoc.hs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'pandoc.hs') 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 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 -> -- cgit v1.2.3