@@ -404,7 +404,9 @@ tableOption = do
405tableFormatSpec :: PandocMonad m => RoffLexer m [[CellFormat]]
405tableFormatSpec :: PandocMonad m => RoffLexer m [[CellFormat]]
406tableFormatSpec = do
406tableFormatSpec = do
407− speclines <- tableFormatSpecLine `sepBy1` (newline <|> char ',')
407+ first <- tableFormatSpecLine
408+ rest <- many $ try $ (newline <|> char ',') *> tableFormatSpecLine
409+ let speclines = first:rest
410 return $ speclines ++ repeat (lastDef [] speclines) -- last line is default
412 return $ speclines ++ repeat (lastDef [] speclines) -- last line is default