diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-06-19 09:11:34 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-06-19 09:11:34 -0700 |
commit | f2c3335642a194773d38409678e49852156865a8 (patch) | |
tree | 5367adc4c9b00709b540bf66466e1cd72b409629 /src/Text | |
parent | b53ea23b3f56a120937922f88f5f1fc3244067d9 (diff) | |
download | pandoc-f2c3335642a194773d38409678e49852156865a8.tar.gz |
Properly handle blank line at beginning of input.
Closes #882.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/Markdown.hs | 2 |
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" -- |