@@ -962,9 +962,9 @@ table :: Parser [Char] ParserState Block
962962table = try $ do
963963 frontCaption <- option [] tableCaption
964964 Table _ aligns widths heads lines' <-
965+ try (scanForPipe >> (pipeTable True <|> pipeTable False)) <|>
965966 multilineTable False <|> simpleTable True <|>
966967 simpleTable False <|> multilineTable True <|>
967− (scanForPipe >> (pipeTable False <|> pipeTable True)) <|>
968968 gridTable False <|> gridTable True <?> "table"
969969 caption <- if null frontCaption
970970 then option [] tableCaption