Skip to content

Commit

Permalink
Markdown reader: Don't require blank line after grid table.
Browse files Browse the repository at this point in the history
This fixes #6481, allowing grid tables to be enclosed
in fenced divs with no intervening blank lines.
  • Loading branch information
jgm committed Jun 23, 2020
1 parent 97ad964 commit ee782cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Text/Pandoc/Parsing.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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

---

Expand Down

0 comments on commit ee782cc

Please sign in to comment.