aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-10-25 22:40:42 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-25 22:40:42 -0700
commit1ee594bf0e583fd4145765bb429dc9404b9963fe (patch)
tree457c8258cf563e52ae4b6274e954eb10545be7bd
parent444485d62cfe136c638c0fde1902c1149f67b971 (diff)
downloadpandoc-1ee594bf0e583fd4145765bb429dc9404b9963fe.tar.gz
Man reader: be more forgiving with table options.
-rw-r--r--src/Text/Pandoc/Readers/Groff.hs3
1 files changed, 2 insertions, 1 deletions
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]]