git.iko.soy/typeable/pandoc
on master help sign in
Markdown writer: missing \n (#3647)
cff6d2dDavid A Roberts
src/Text/Pandoc/Writers/Markdown.hs+1−1
@@ -788,7 +788,7 @@ blockListToMarkdown opts blocks = do
788 isListBlock _ = False
788 isListBlock _ = False
789 commentSep = if isEnabled Ext_raw_html opts
789 commentSep = if isEnabled Ext_raw_html opts
790 then RawBlock "html" "<!-- -->\n"
790 then RawBlock "html" "<!-- -->\n"
791− else RawBlock "markdown" "&nbsp;"
791+ else RawBlock "markdown" "&nbsp;\n"
792 mapM (blockToMarkdown opts) (fixBlocks blocks) >>= return . cat
792 mapM (blockToMarkdown opts) (fixBlocks blocks) >>= return . cat
793
793
794getKey :: Doc -> Key
794getKey :: Doc -> Key