summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-10-08 19:40:29 +0200
committerJo-Philipp Wich <jo@mein.io>2021-10-08 19:53:09 +0200
commit99019024adb3e3c6b5a03a421a7c6db4ebc9e7e2 (patch)
tree6c88e952307643efa73efa88b9f2101b9178636f /applications
parent72d13da94cbbaab8ed3fd32f5347e7e718d46465 (diff)
luci-app-mwan3: fix markup which is not valid XHTML
XHTML does not specify `&nbsp;`, use `&#160;` instead. Fixes: #5421 Fixes: f5f6b3e4f8 ("luci-app-mwan3: convert to JS") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js
index 14e0b0252b..c60ac7afa2 100644
--- a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js
+++ b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/status/overview.js
@@ -61,11 +61,11 @@ function renderMwan3Status(status) {
}
statusview += '<div class="alert-message %h">'.format(css);
- statusview += '<div><strong>%h:&nbsp;</strong>%h</div>'.format(_('Interface'), iface);
- statusview += '<div><strong>%h:&nbsp;</strong>%h</div>'.format(_('Status'), state);
+ statusview += '<div><strong>%h:&#160;</strong>%h</div>'.format(_('Interface'), iface);
+ statusview += '<div><strong>%h:&#160;</strong>%h</div>'.format(_('Status'), state);
if (time)
- statusview += '<div><strong>%h:&nbsp;</strong>%h</div>'.format(tname, time);
+ statusview += '<div><strong>%h:&#160;</strong>%h</div>'.format(tname, time);
statusview += '</div>';
}