Revert "Markdown reader: Ignore blank line after ~~~~~~~~ in delimited code blocks."
This reverts commit 7ad17fe5cff04e0b68be5c4a08339bb53d3d176d.
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
commitc02e0f76fe6ac4465322e1a6652315460fe3a1f9
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>
dateSun 2 Nov 2008, 16:44 (18 years ago)
parent412315b
Text/Pandoc/Readers/Markdown.hs−2
@@ -380,8 +380,6 @@ keyValAttr = try $ do
380380codeBlockDelimited :: GenParser Char st Block
381381codeBlockDelimited = try $ do
382382 (size, attr) <- codeBlockDelimiter Nothing
383− optional blankline -- this helps make literate haskell possible; it requires
384− -- a blank line between comment and code
385383 contents <- manyTill anyLine (codeBlockDelimiter (Just size))
386384 blanklines
387385 return $ CodeBlock attr $ intercalate "\n" contents