diff --git a/powerdnsadmin/static/custom/js/custom.js b/powerdnsadmin/static/custom/js/custom.js index 395e1ac..051a2e0 100644 --- a/powerdnsadmin/static/custom/js/custom.js +++ b/powerdnsadmin/static/custom/js/custom.js @@ -76,13 +76,17 @@ function getTableData(table) { record["record_type"] = r[1].trim(); record["record_status"] = r[2].trim(); record["record_ttl"] = r[3].trim(); - record["record_data"] = r[4].trim(); - record["record_comment"] = r[5].trim(); + record["record_data"] = convertHTMLEntityToText(r[4].trim()); + record["record_comment"] = convertHTMLEntityToText(r[5].trim()); records.push(record); }); return records } +function convertHTMLEntityToText(htmlEntity) { + return $('