diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-08-31 22:21:41 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-08-31 22:21:41 +0000 |
commit | f55d62c04ae0f6ca9b0bb7050ab9ce72f21a67df (patch) | |
tree | 9fa3d6ca10f504bfb87c0a841b801df247b6eaff /src/Text | |
parent | c206332558ad3ef4607c701cfa688695197f24e1 (diff) | |
download | pandoc-f55d62c04ae0f6ca9b0bb7050ab9ce72f21a67df.tar.gz |
Don't require blank lines after code block. (It's sufficient
to end code block with a nonindented line.)
git-svn-id: https://pandoc.googlecode.com/svn/trunk@975 788f1e2b-df1e-0410-8736-df70ead52e1b
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 780ed0aff..1159d4269 100644 --- a/src/Text/Pandoc/Readers/Markdown.hs +++ b/src/Text/Pandoc/Readers/Markdown.hs @@ -269,7 +269,7 @@ codeBlock = try $ do try (do b <- blanklines l <- indentedLine return $ b ++ l)) - blanklines + optional blanklines return $ CodeBlock $ stripTrailingNewlines $ concat contents -- |