diff options
Diffstat (limited to 'src/Text/Pandoc/Readers/Markdown.hs')
-rw-r--r-- | src/Text/Pandoc/Readers/Markdown.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs index 0d58dd87f..585f813d7 100644 --- a/src/Text/Pandoc/Readers/Markdown.hs +++ b/src/Text/Pandoc/Readers/Markdown.hs @@ -181,9 +181,7 @@ parseMarkdown = do -- parsing blocks -- -parseBlocks = do - result <- manyTill block eof - return result +parseBlocks = manyTill block eof block = choice [ codeBlock, note, referenceKey, header, hrule, list, blockQuote, htmlBlock, rawLaTeXEnvironment', para, |