From 22b09d88ff8b13e2bdfa25781d9143878791581c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 24 Jan 2019 16:09:14 -0800 Subject: Ms writer: ensure we have a newline after .EN in disply math. Closes #5251. --- src/Text/Pandoc/Writers/Ms.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Writers/Ms.hs b/src/Text/Pandoc/Writers/Ms.hs index 202cb91ad..95ca1d4e9 100644 --- a/src/Text/Pandoc/Writers/Ms.hs +++ b/src/Text/Pandoc/Writers/Ms.hs @@ -418,7 +418,7 @@ inlineToMs opts (Math DisplayMath str) = do contents <- inlineToMs opts il return $ cr <> text ".RS" $$ contents $$ text ".RE" Right r -> return $ - cr <> text ".EQ" $$ text r $$ text ".EN" + cr <> text ".EQ" $$ text r $$ text ".EN" <> cr inlineToMs _ il@(RawInline f str) | f == Format "ms" = return $ text str | otherwise = do -- cgit v1.2.3