From 99019024adb3e3c6b5a03a421a7c6db4ebc9e7e2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 8 Oct 2021 19:40:29 +0200 Subject: [PATCH] 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 --- .../luci-static/resources/view/mwan3/status/overview.js | 6 +++--- 1 file 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 += '
'.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 += '
'; } -- 2.30.2