aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorDavid A Roberts <d@vidr.cc>2017-05-08 07:11:57 +1000
committerJohn MacFarlane <jgm@berkeley.edu>2017-05-07 23:11:57 +0200
commitcff6d2dd73492d4c24ead814fc3564503f4d5b01 (patch)
treeead34961ae17140bd8b42d9cef442d7c3a1c85d4 /src/Text/Pandoc
parent69110cde81a7bad260cdca579b4dcca306d4be2b (diff)
downloadpandoc-cff6d2dd73492d4c24ead814fc3564503f4d5b01.tar.gz
Markdown writer: missing \n (#3647)
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/Markdown.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Markdown.hs b/src/Text/Pandoc/Writers/Markdown.hs
index 7c0874278..e67dcef6c 100644
--- a/src/Text/Pandoc/Writers/Markdown.hs
+++ b/src/Text/Pandoc/Writers/Markdown.hs
@@ -788,7 +788,7 @@ blockListToMarkdown opts blocks = do
isListBlock _ = False
commentSep = if isEnabled Ext_raw_html opts
then RawBlock "html" "<!-- -->\n"
- else RawBlock "markdown" "&nbsp;"
+ else RawBlock "markdown" "&nbsp;\n"
mapM (blockToMarkdown opts) (fixBlocks blocks) >>= return . cat
getKey :: Doc -> Key