markdownDataDiv.children().each(function(){ $(this).html($(this).html().replaceAll("\n","<br/>")); });