aboutsummaryrefslogtreecommitdiff
path: root/pandoc-server
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-09-29 10:37:46 -0700
committerJohn MacFarlane <[email protected]>2022-09-29 10:37:46 -0700
commit931ccd03766f339ab1053b4d5ad8344f20733d5e (patch)
treee9480ad85d050afa2e5c1500a9de4e5acfd05587 /pandoc-server
parent6227144216b35349cc5415233baae13f8d1cc886 (diff)
Remove deprecated option `--strip-empty-paragraphs`.
Diffstat (limited to 'pandoc-server')
-rw-r--r--pandoc-server/src/Text/Pandoc/Server.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/pandoc-server/src/Text/Pandoc/Server.hs b/pandoc-server/src/Text/Pandoc/Server.hs
index 55eed87cb..0aea753a4 100644
--- a/pandoc-server/src/Text/Pandoc/Server.hs
+++ b/pandoc-server/src/Text/Pandoc/Server.hs
@@ -41,7 +41,7 @@ import System.Console.GetOpt
import System.Environment (getProgName)
import qualified Control.Exception as E
import Text.Pandoc.Shared (safeStrRead, headerShift, filterIpynbOutput,
- eastAsianLineBreakFilter, stripEmptyParagraphs)
+ eastAsianLineBreakFilter)
import Text.Pandoc.App ( IpynbOutput (..), Opt(..), defaultOpts )
import Text.Pandoc.Builder (setMeta)
import Text.Pandoc.SelfContained (makeSelfContained)
@@ -363,9 +363,6 @@ server = convertBytes
transforms = (case optShiftHeadingLevelBy opts of
0 -> id
x -> headerShift x) .
- (case optStripEmptyParagraphs opts of
- True -> stripEmptyParagraphs
- False -> id) .
(if extensionEnabled Ext_east_asian_line_breaks
readerExts &&
not (extensionEnabled Ext_east_asian_line_breaks