Skip to content

Commit

Permalink
Ms writer: ensure we have a newline after .EN in disply math.
Browse files Browse the repository at this point in the history
Closes #5251.
  • Loading branch information
jgm committed Jan 25, 2019
1 parent 5eaff39 commit 22b09d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Text/Pandoc/Writers/Ms.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22b09d8

Please sign in to comment.