summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-transmission/htdocs
diff options
context:
space:
mode:
authorAlexander Egorenkov <egorenar-dev@posteo.net>2021-04-04 12:41:03 +0200
committerHannu Nyman <hannu.nyman@iki.fi>2021-04-11 11:24:07 +0300
commitafd096edfcd5669510702b47c964ba75d698d5af (patch)
tree49befd0524441fdcfbe2525d227d5c83bc50632c /applications/luci-app-transmission/htdocs
parent3b652a70a8126fbcb1d5da06dac695b61bc5e261 (diff)
luci-app-transmission: fix '&nbsp' exception in OpenWrt theme
Convert '&nbsp;' to '&#160;' which is both syntactically correct (semicolon present) and XHTML compliant. Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
Diffstat (limited to 'applications/luci-app-transmission/htdocs')
-rw-r--r--applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js b/applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js
index f2c42ddba5..0ba84a9b52 100644
--- a/applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js
+++ b/applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js
@@ -35,7 +35,7 @@ return view.extend({
var button = '';
if (running && webinstalled)
- button = '&nbsp;<a class="btn" href="http://' + window.location.hostname + ':' + port + '" target="_blank" rel="noreferrer noopener">' + _('Open Web Interface') + '</a>';
+ button = '&#160;<a class="btn" href="http://' + window.location.hostname + ':' + port + '" target="_blank" rel="noreferrer noopener">' + _('Open Web Interface') + '</a>';
var m, s, o;