git.iko.soy/typeable/pandoc
on master help sign in
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.

commitee782ccfecfc4acd5482de80847e9714911bdddd authorJohn MacFarlane <jgm@berkeley.edu> dateTue 23 Jun 2020, 08:24 (6 years ago) parent97ad964
1 file changed+2−2
src/Text/Pandoc/Parsing.hs+2−2
src/Text/Pandoc/Parsing.hs+2−2
@@ -1092,8 +1092,8 @@ removeOneLeadingSpace xs =
10921092 Just (c, _) -> c == ' '
10931093
10941094-- | Parse footer for a grid table.
1095−gridTableFooter :: Stream s m Char => ParserT s st m Text
1096−gridTableFooter = blanklines
1095+gridTableFooter :: Stream s m Char => ParserT s st m ()
1096+gridTableFooter = optional blanklines
10971097
10981098---
10991099