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