Markdown解决需要输入两个回车才能为一个空行的问题 markdownDataDiv.children().each(function(){ $(this).html($(this).html().replaceAll(" ","<br/>")); });