diff --git a/src/Text/Pandoc/Parsing.hs b/src/Text/Pandoc/Parsing.hs index f79d0fdfc..c6c80eee4 100644 --- a/src/Text/Pandoc/Parsing.hs +++ b/src/Text/Pandoc/Parsing.hs @@ -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 ---