summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/RST.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-01-27 22:13:05 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-01-27 22:13:05 -0800
commit72d11ad20bd5f291c373b1aeb09cc869905b0f26 (patch)
tree653510a5db888923bc8cd658e8bbd7088c681c73 /src/Text/Pandoc/Readers/RST.hs
parent9d549ab683ba4d98a295dc156ea4b81f57f383a7 (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.hs1
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"
--