summaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-07-24 09:24:28 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-07-24 09:24:56 -0700
commit6da9d9bca5111629801b70d4a4c70a1f47d9483b (patch)
tree754bf413125d1fb8af409174cdac34e7861c7f57 /src/Text
parentda1e99c03ad80694bb738e10159ecd87b08e9140 (diff)
Small fix to fix: Allow blank lines btw table and caption.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index e9ed32f5f..a6c143482 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -966,6 +966,7 @@ table = try $ do
multilineTable False <|> simpleTable True <|>
simpleTable False <|> multilineTable True <|>
gridTable False <|> gridTable True <?> "table"
+ optional blanklines
caption <- if null frontCaption
then option [] tableCaption
else return frontCaption