Revert "Markdown reader: Ignore blank line after ~~~~~~~~ in delimited code blocks."

This reverts commit 7ad17fe5cf.
We will soon have a better way of handling literate haskell.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1481 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher 2008-11-02 16:44:26 +00:00
parent 412315b530
commit c02e0f76fe

View file

@ -380,8 +380,6 @@ keyValAttr = try $ do
codeBlockDelimited :: GenParser Char st Block
codeBlockDelimited = try $ do
(size, attr) <- codeBlockDelimiter Nothing
optional blankline -- this helps make literate haskell possible; it requires
-- a blank line between comment and code
contents <- manyTill anyLine (codeBlockDelimiter (Just size))
blanklines
return $ CodeBlock attr $ intercalate "\n" contents