aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index 780ed0aff..1159d4269 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -269,7 +269,7 @@ codeBlock = try $ do
try (do b <- blanklines
l <- indentedLine
return $ b ++ l))
- blanklines
+ optional blanklines
return $ CodeBlock $ stripTrailingNewlines $ concat contents
--