From eb918b33132a1369f6bd02865dff47b07584e948 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 12 Nov 2019 11:51:49 +0100 Subject: [PATCH] luci-mod-status: fix graph rendering with XHTML themes Signed-off-by: Jo-Philipp Wich (cherry picked from commit 95bfb3f363d130566550e61565fc8f7073020763) --- .../htdocs/luci-static/resources/view/status/bandwidth.js | 2 +- .../htdocs/luci-static/resources/view/status/connections.js | 2 +- .../htdocs/luci-static/resources/view/status/load.js | 2 +- .../htdocs/luci-static/resources/view/status/wireless.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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())); }); }, -- 2.25.1