diff options
| -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 | 
