From f2c3335642a194773d38409678e49852156865a8 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 19 Jun 2013 09:11:34 -0700 Subject: Properly handle blank line at beginning of input. Closes #882. --- src/Text/Pandoc/Readers/Markdown.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') 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" -- -- cgit v1.2.3