From 949bc40541635abb29e2ea26bd8cc0bdd995a661 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Fri, 14 May 2021 18:46:54 +0530 Subject: [PATCH] webapp: allowing multi paragraph description for app details. --- DnsServerCore/www/js/apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DnsServerCore/www/js/apps.js b/DnsServerCore/www/js/apps.js index e63d6077..943c2c8b 100644 --- a/DnsServerCore/www/js/apps.js +++ b/DnsServerCore/www/js/apps.js @@ -42,7 +42,7 @@ function refreshApps() { for (var j = 0; j < apps[i].details.length; j++) { detailsTable += "" + htmlEncode(apps[i].details[j].classPath) + "" + - htmlEncode(apps[i].details[j].description) + "" + + htmlEncode(apps[i].details[j].description).replace(/\n/g, "
") + "" + (apps[i].details[j].recordDataTemplate == null ? "" : "
" + htmlEncode(apps[i].details[j].recordDataTemplate) + "
") + ""; }