From: Jo-Philipp Wich Date: Tue, 12 Nov 2019 10:51:49 +0000 (+0100) Subject: luci-mod-status: fix graph rendering with XHTML themes X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eb918b33132a1369f6bd02865dff47b07584e948;p=oweals%2Fluci.git luci-mod-status: fix graph rendering with XHTML themes Signed-off-by: Jo-Philipp Wich (cherry picked from commit 95bfb3f363d130566550e61565fc8f7073020763) --- diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js index 18e2160b5..0d89ae8ae 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js @@ -233,7 +233,7 @@ return L.view.extend({ return E('div', { 'style': 'width:100%;height:300px;border:1px solid #000;background:#fff' - }, response.text()); + }, E(response.text())); }); }, diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js index 96dee1db7..458437ede 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js @@ -306,7 +306,7 @@ return L.view.extend({ return E('div', { 'style': 'width:100%;height:300px;border:1px solid #000;background:#fff' - }, response.text()); + }, E(response.text())); }); }, diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js index a1ed43478..646d256d6 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js @@ -211,7 +211,7 @@ return L.view.extend({ return E('div', { 'style': 'width:100%;height:300px;border:1px solid #000;background:#fff' - }, response.text()); + }, E(response.text())); }); }, diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js index ce0c72bc3..cd8cff133 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js @@ -227,7 +227,7 @@ return L.view.extend({ return E('div', { 'style': 'width:100%;height:300px;border:1px solid #000;background:#fff' - }, response.text()); + }, E(response.text())); }); },