luci-app-mwan3: fix markup which is not valid XHTML

XHTML does not specify ` `, use ` ` instead.

Fixes: #5421
Fixes: f5f6b3e4f8 ("luci-app-mwan3: convert to JS")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2021-10-08 19:40:29 +02:00
parent 72d13da94c
commit 99019024ad

View file

@ -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>';
}