From: Jo-Philipp Wich Date: Fri, 8 Oct 2021 17:40:29 +0000 (+0200) Subject: luci-app-mwan3: fix markup which is not valid XHTML X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=99019024adb3e3c6b5a03a421a7c6db4ebc9e7e2;p=project%2Fluci.git 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 --- 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 += '
'.format(css); - statusview += '
%h: %h
'.format(_('Interface'), iface); - statusview += '
%h: %h
'.format(_('Status'), state); + statusview += '
%h: %h
'.format(_('Interface'), iface); + statusview += '
%h: %h
'.format(_('Status'), state); if (time) - statusview += '
%h: %h
'.format(tname, time); + statusview += '
%h: %h
'.format(tname, time); statusview += '
'; }