dockerMan: Preserve \n on overview in basic mode

\n not being preserved between advanced view and basic view of overviews, making for some strange looking overviews in basic.
This commit is contained in:
Squidly271
2020-02-15 12:04:19 -05:00
committed by GitHub
parent cee65d3a11
commit 7b7be4a9fb
@@ -1202,7 +1202,7 @@ button[type=button]{margin:0 20px 0 0}
}
function load_contOverview() {
var new_overview = $("textarea[name='contOverview']").val();
new_overview = new_overview.replaceAll("[","<").replaceAll("]",">");
new_overview = new_overview.replaceAll("\n","<br>").replaceAll("[","<").replaceAll("]",">");
$("#contDescription").html(new_overview);
}
$(function() {