@@ -227,6 +227,7 @@ table = do
227227 let widths' = map (\w -> if w == 0 then defaultwidth else w) widths
228228 let cellspecs = zip (map fst cellspecs') widths'
229229 rows' <- many $ try $ rowsep *> (map snd <$> tableRow)
230+ optional blanklines
230231 tableEnd
231232 let cols = length hdr
232233 let (headers,rows) = if hasheader
@@ -275,7 +276,7 @@ tableCaption = try $ do
275276 (trimInlines . mconcat) <$> many (notFollowedBy (cellsep <|> rowsep) *> inline)
276277
277278tableRow :: MWParser [((Alignment, Double), Blocks)]
278−tableRow = try $ many tableCell
279+tableRow = try $ skipMany htmlComment *> many tableCell
279280
280281tableCell :: MWParser ((Alignment, Double), Blocks)
281282tableCell = try $ do