luci-app-transmission: fix '&nbsp' exception in OpenWrt theme

Convert ' ' to ' ' which is both syntactically correct (semicolon present) and XHTML compliant.

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
(cherry picked from commit afd096edfc)
This commit is contained in:
Alexander Egorenkov 2021-04-04 12:41:03 +02:00 committed by Hannu Nyman
parent 9a135ae4b3
commit a953870b3b

View file

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