Markdown reader: Don't require blank line after grid table.

This fixes #6481, allowing grid tables to be enclosed
in fenced divs with no intervening blank lines.
This commit is contained in:
John MacFarlane 2020-06-23 08:24:04 -07:00
parent 97ad96437c
commit ee782ccfec

View file

@ -1092,8 +1092,8 @@ removeOneLeadingSpace xs =
Just (c, _) -> c == ' '
-- | Parse footer for a grid table.
gridTableFooter :: Stream s m Char => ParserT s st m Text
gridTableFooter = blanklines
gridTableFooter :: Stream s m Char => ParserT s st m ()
gridTableFooter = optional blanklines
---