summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpnbypass
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-10-08 19:44:01 +0200
committerJo-Philipp Wich <jo@mein.io>2021-10-08 19:53:09 +0200
commit3e8659db84ee2ed6d6a439e60613de41b8336be5 (patch)
tree6da22eb74ebcd7f975bb4d5641d0bf14ca53c2d5 /applications/luci-app-vpnbypass
parent4df365f8e59c1662ed23f1bb25903d7becc88321 (diff)
luci-app-vpnbypass: fix markup which is not valid XHTML
XHTML does not specify `&nbsp;`, use `&#160;` instead. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-vpnbypass')
-rw-r--r--applications/luci-app-vpnbypass/htdocs/luci-static/resources/vpnbypass/widgets.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-vpnbypass/htdocs/luci-static/resources/vpnbypass/widgets.js b/applications/luci-app-vpnbypass/htdocs/luci-static/resources/vpnbypass/widgets.js
index f14dd21d74..3085d932d6 100644
--- a/applications/luci-app-vpnbypass/htdocs/luci-static/resources/vpnbypass/widgets.js
+++ b/applications/luci-app-vpnbypass/htdocs/luci-static/resources/vpnbypass/widgets.js
@@ -91,8 +91,8 @@ var statusCBI = form.DummyValue.extend({
var buttonsCBI = form.DummyValue.extend({
renderWidget: function (section) {
- var btn_gap = E('span', {}, '&nbsp;&nbsp;');
- var btn_gap_long = E('span', {}, '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
+ var btn_gap = E('span', {}, '&#160;&#160;');
+ var btn_gap_long = E('span', {}, '&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;');
var btn_start = E('button', {
'class': 'btn cbi-button cbi-button-apply',