luci-mod-status: fix graph rendering with XHTML themes
authorJo-Philipp Wich <jo@mein.io>
Tue, 12 Nov 2019 10:51:49 +0000 (11:51 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 12 Nov 2019 10:53:08 +0000 (11:53 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 95bfb3f363d130566550e61565fc8f7073020763)

modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js
modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js
modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js
modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js

index 18e2160b51c257612cdf46d3ac8a9ab3ffeaad8c..0d89ae8ae8aea4060d3f3ed8e598669ca1b31130 100644 (file)
@@ -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()));
                });
        },
 
index 96dee1db776ea3f666223c4b3de41109c9886e32..458437ede03f11609fa158c634e40b16c378c615 100644 (file)
@@ -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()));
                });
        },
 
index a1ed43478d37e0c23a14f47425750103cc0bcbad..646d256d60f9152630479fe488e4a73dbab22e9b 100644 (file)
@@ -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()));
                });
        },
 
index ce0c72bc3b7001b55d91fd13a6f6b04263b5c690..cd8cff133bbe72fb732dad9b1dc9775b9db30de5 100644 (file)
@@ -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()));
                });
        },