diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-03-17 20:39:49 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-03-17 20:41:11 -0700 |
commit | fef484c4d0c7f8ca7ceef59189b877cd9ac8728f (patch) | |
tree | 9ab45415801930495ae79c0d68e6c95f0489b442 /src/Text/Pandoc | |
parent | 01f7f8da62643a213d29ab98f896eaa20c6133ff (diff) | |
download | pandoc-fef484c4d0c7f8ca7ceef59189b877cd9ac8728f.tar.gz |
Fixed typo introduced in merge.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/RST.hs | 2 |
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 |