Ms writer: ensure we have a newline after .EN in disply math.
Closes #5251.
commit22b09d88ff8b13e2bdfa25781d9143878791581c
authorJohn MacFarlane <jgm@berkeley.edu>
dateThu 24 Jan 2019, 16:09 (8 years ago)
parent5eaff39
src/Text/Pandoc/Writers/Ms.hs+1−1
@@ -418,7 +418,7 @@ inlineToMs opts (Math DisplayMath str) = do
418418 contents <- inlineToMs opts il
419419 return $ cr <> text ".RS" $$ contents $$ text ".RE"
420420 Right r -> return $
421− cr <> text ".EQ" $$ text r $$ text ".EN"
421+ cr <> text ".EQ" $$ text r $$ text ".EN" <> cr
422422inlineToMs _ il@(RawInline f str)
423423 | f == Format "ms" = return $ text str
424424 | otherwise = do