aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-06-19 09:11:34 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-06-19 09:11:34 -0700
commitf2c3335642a194773d38409678e49852156865a8 (patch)
tree5367adc4c9b00709b540bf66466e1cd72b409629 /src/Text/Pandoc
parentb53ea23b3f56a120937922f88f5f1fc3244067d9 (diff)
downloadpandoc-f2c3335642a194773d38409678e49852156865a8.tar.gz
Properly handle blank line at beginning of input.
Closes #882.
Diffstat (limited to 'src/Text/Pandoc')
-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 58495d024..3ecc760ae 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -376,9 +376,9 @@ block = choice [ codeBlockFenced
, noteBlock
, referenceKey
, abbrevKey
+ , mempty <$ blanklines
, para
, plain
- , mempty <$ blanklines
] <?> "block"
--