aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-10-26 22:52:27 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-26 22:52:27 -0700
commit8c4812be3f5bff6f75339578a042c9f648896b04 (patch)
tree399779a5571c43b970b8e42e7a998594b47d3c02 /src/Text/Pandoc
parentdc7f41bb64e4e9a375f8aac4aaee083da643c2b3 (diff)
downloadpandoc-8c4812be3f5bff6f75339578a042c9f648896b04.tar.gz
Roff tokenizer: allow . on next line after table format spec.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/Roff.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Roff.hs b/src/Text/Pandoc/Readers/Roff.hs
index c12f6df83..c310da558 100644
--- a/src/Text/Pandoc/Readers/Roff.hs
+++ b/src/Text/Pandoc/Readers/Roff.hs
@@ -405,7 +405,7 @@ tableOption = do
tableFormatSpec :: PandocMonad m => RoffLexer m [[CellFormat]]
tableFormatSpec = do
speclines <- tableFormatSpecLine `sepBy1` (newline <|> char ',')
- skipMany spacetab
+ spaces
char '.'
return $ speclines ++ repeat (lastDef [] speclines) -- last line is default