Ensure we replace all "\n" by "<br>" when showing descriptions

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-12-01 13:02:21 +01:00
parent 05ff5647bd
commit 06516fb514
+1 -1
View File
@@ -54,7 +54,7 @@ function generateRow(topic, key, value) {
: "") +
"</h3>" +
"<p>" +
utils.escapeHtml(value.description).replace("\n", "<br>") +
utils.escapeHtml(value.description).replaceAll("\n", "<br>") +
"</p>" +
"</div>" +
'<div class="box-body">' +