Fixed typo introduced in merge.
commitfef484c4d0c7f8ca7ceef59189b877cd9ac8728f
authorJohn MacFarlane <jgm@berkeley.edu>
dateSat 17 Mar 2018, 20:39 (9 years ago)
parent01f7f8d
src/Text/Pandoc/Writers/RST.hs+1−1
@@ -378,7 +378,7 @@ blockListToRST :: PandocMonad m
378378blockListToRST = blockListToRST' False
379379
380380transformInlines :: [Inline] -> [Inline]
381−transformInlines = removeLeadingTrailingSpace . insertBS
381+transformInlines = stripLeadingTrailingSpace . insertBS
382382 . filter hasContents . removeSpaceAfterDisplayMath
383383 where -- empty inlines are not valid RST syntax
384384 hasContents :: Inline -> Bool