Added css to whois modal to handle newlines

This commit is contained in:
İlteriş Eroğlu 2020-04-29 18:52:24 +03:00 committed by Mehdi ABAAKOUK
parent 9d9d93805e
commit 95fd862388
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ $(function(){
link = $(this).attr('href');
$.getJSON(link, function(data) {
$(".modal h3").html(data.title);
$(".modal .modal-body > p").html(data.output);
$(".modal .modal-body > p").css("white-space", "pre-line").text(data.output);
$(".modal").modal('show');
});
});