diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-27 22:13:05 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-27 22:13:05 -0800 |
commit | 72d11ad20bd5f291c373b1aeb09cc869905b0f26 (patch) | |
tree | 653510a5db888923bc8cd658e8bbd7088c681c73 /src/Text/Pandoc/Readers/RST.hs | |
parent | 9d549ab683ba4d98a295dc156ea4b81f57f383a7 (diff) |
Markdown/RST reader: Skip blank lines.
This fixes a subtle regression involving grid tables with
empty cells. Closes #732.
Also added test for grid table with empty cells.
Diffstat (limited to 'src/Text/Pandoc/Readers/RST.hs')
-rw-r--r-- | src/Text/Pandoc/Readers/RST.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/RST.hs b/src/Text/Pandoc/Readers/RST.hs index c5e2617da..378e49703 100644 --- a/src/Text/Pandoc/Readers/RST.hs +++ b/src/Text/Pandoc/Readers/RST.hs @@ -143,6 +143,7 @@ block = choice [ codeBlock , list , lhsCodeBlock , para + , mempty <$ blanklines ] <?> "block" -- |