From fef484c4d0c7f8ca7ceef59189b877cd9ac8728f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 17 Mar 2018 20:39:49 -0700 Subject: Fixed typo introduced in merge. --- src/Text/Pandoc/Writers/RST.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3