From dae03de44c748a89140ed1baf915d042bcc30dda Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 27 Oct 2018 08:19:44 -0700 Subject: Roff reader: allow table options to be empty. Partially addresses #5026. --- src/Text/Pandoc/Readers/Roff.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Readers/Roff.hs b/src/Text/Pandoc/Readers/Roff.hs index bbbe49171..a98678a30 100644 --- a/src/Text/Pandoc/Readers/Roff.hs +++ b/src/Text/Pandoc/Readers/Roff.hs @@ -389,7 +389,7 @@ tableRow = do return (c:cs) tableOptions :: PandocMonad m => RoffLexer m [TableOption] -tableOptions = try $ many1 tableOption <* spaces <* char ';' +tableOptions = try $ many tableOption <* spaces <* char ';' tableOption :: PandocMonad m => RoffLexer m TableOption tableOption = do -- cgit v1.2.3