From 1ee594bf0e583fd4145765bb429dc9404b9963fe Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 25 Oct 2018 22:40:42 -0700 Subject: Man reader: be more forgiving with table options. --- src/Text/Pandoc/Readers/Groff.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Text/Pandoc/Readers/Groff.hs b/src/Text/Pandoc/Readers/Groff.hs index 2e335362f..4bc9d32cc 100644 --- a/src/Text/Pandoc/Readers/Groff.hs +++ b/src/Text/Pandoc/Readers/Groff.hs @@ -376,8 +376,9 @@ tableOption = do v <- option "" $ do char '(' manyTill anyChar (char ')') - spaces + skipMany spacetab optional (char ',') + skipMany spacetab return (k,v) tableFormatSpec :: PandocMonad m => GroffLexer m [[TableFormat]] -- cgit v1.2.3