@@ -1287,11 +1287,9 @@ pipeBreak = try $ do
1288pipeTable :: MarkdownParser ([Alignment], [Double], F [Blocks], F [[Blocks]])
1288pipeTable :: MarkdownParser ([Alignment], [Double], F [Blocks], F [[Blocks]])
1289pipeTable = try $ do
1289pipeTable = try $ do
1290− (heads,aligns) <- try ( pipeBreak >>= \als ->
1290+ (heads,aligns) <- pipeTableRow >>= \row ->
1291− return (return $ replicate (length als) mempty, als))
1292− <|> ( pipeTableRow >>= \row -> pipeBreak >>= \als ->
1291+ pipeBreak >>= \als ->
1294− return (row, als) )
1292+ return (row, als)
1295 lines' <- sequence <$> many1 pipeTableRow
1293 lines' <- sequence <$> many1 pipeTableRow
1296 let widths = replicate (length aligns) 0.0
1294 let widths = replicate (length aligns) 0.0
1297 return $ (aligns, widths, heads, lines')
1295 return $ (aligns, widths, heads, lines')