From 8c4812be3f5bff6f75339578a042c9f648896b04 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 26 Oct 2018 22:52:27 -0700 Subject: Roff tokenizer: allow . on next line after table format spec. --- src/Text/Pandoc/Readers/Roff.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Readers/Roff.hs') 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 -- cgit v1.2.3