From: Dirk Brenken Date: Mon, 28 Dec 2020 18:19:08 +0000 (+0100) Subject: luci-app-adblock: XHTML fix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e6a5ba770c094fa540251625b4ab5db4751d23de;p=project%2Fluci.git luci-app-adblock: XHTML fix * made DNS Report page XHTML compatible Signed-off-by: Dirk Brenken --- diff --git a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js index b85abd0238..fdd358038c 100644 --- a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js +++ b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js @@ -228,13 +228,17 @@ return view.extend({ b_cnt = content.data.top_domains[i].count; } if (content.data.top_domains[i]) { - b_addr = '' + content.data.top_domains[i].address + ''; + //[!CDATA[ + b_addr = '' + content.data.top_domains[i].address + ''; + //]]> } if (content.data.top_blocked[i]) { c_cnt = content.data.top_blocked[i].count; } if (content.data.top_blocked[i]) { - c_addr = '' + content.data.top_blocked[i].address + ''; + //[!CDATA[ + c_addr = '' + content.data.top_blocked[i].address + ''; + //]]> } rows_top.push([ a_cnt, @@ -285,7 +289,9 @@ return view.extend({ content.data.requests[i].date, content.data.requests[i].time, content.data.requests[i].client, - '' + content.data.requests[i].domain + '', + //[!CDATA[ + '' + content.data.requests[i].domain + '', + //]]> content.data.requests[i].rc, button ]);