aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text')
-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]]