aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/Readers/Roff.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Roff.hs b/src/Text/Pandoc/Readers/Roff.hs
index 8121bedfe..2ec79ddb2 100644
--- a/src/Text/Pandoc/Readers/Roff.hs
+++ b/src/Text/Pandoc/Readers/Roff.hs
@@ -548,7 +548,8 @@ lexGroup = do
where
groupstart = try $ string "\\{\\" >> newline
groupend = try $ optional (char '.' >> many spacetab) >>
- string "\\}" >> eofline
+ string "\\}" >> (lexLine <|> lexEmptyLine)
+ -- could be comment
lexIncludeFile :: PandocMonad m => [Arg] -> RoffLexer m RoffTokens
lexIncludeFile args = do