aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-03-17 20:39:49 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-03-17 20:41:11 -0700
commitfef484c4d0c7f8ca7ceef59189b877cd9ac8728f (patch)
tree9ab45415801930495ae79c0d68e6c95f0489b442 /src/Text/Pandoc
parent01f7f8da62643a213d29ab98f896eaa20c6133ff (diff)
downloadpandoc-fef484c4d0c7f8ca7ceef59189b877cd9ac8728f.tar.gz
Fixed typo introduced in merge.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/RST.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/RST.hs b/src/Text/Pandoc/Writers/RST.hs
index db914a849..5c475ec23 100644
--- a/src/Text/Pandoc/Writers/RST.hs
+++ b/src/Text/Pandoc/Writers/RST.hs
@@ -378,7 +378,7 @@ blockListToRST :: PandocMonad m
blockListToRST = blockListToRST' False
transformInlines :: [Inline] -> [Inline]
-transformInlines = removeLeadingTrailingSpace . insertBS
+transformInlines = stripLeadingTrailingSpace . insertBS
. filter hasContents . removeSpaceAfterDisplayMath
where -- empty inlines are not valid RST syntax
hasContents :: Inline -> Bool