aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-04-17 11:26:14 -0700
committerJohn MacFarlane <[email protected]>2023-04-17 11:26:54 -0700
commit1b150ce3db0637847be7c4c496ebf8c688357e8f (patch)
treec27fb1268a78d532965408f510b835b538fcc3d5
parenta249f75a301a759bd4d2e5f77f4046113c370497 (diff)
Remove unnecessary 'spaces' in parseFromString.
-rw-r--r--src/Text/Pandoc/Parsing/General.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Parsing/General.hs b/src/Text/Pandoc/Parsing/General.hs
index 72eab85f5..6917c7920 100644
--- a/src/Text/Pandoc/Parsing/General.hs
+++ b/src/Text/Pandoc/Parsing/General.hs
@@ -421,7 +421,6 @@ parseFromString parser str = do
setInput $ toSources str
setPosition $ initialPos $ sourceName oldPos <> "_chunk"
result <- parser
- spaces
setInput oldInput
setPosition oldPos
return result