summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-privoxy/luasrc/controller/privoxy.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-10-08 19:42:43 +0200
committerJo-Philipp Wich <jo@mein.io>2021-10-08 19:53:09 +0200
commit7d53888477b39f48deac39ad330838505c47e8d7 (patch)
tree38e7aa395434745154b24eab60f5f3229f7131d5 /applications/luci-app-privoxy/luasrc/controller/privoxy.lua
parentef60e9ecb9c10f339d0d1ee899db3a3b7717766b (diff)
luci-app-privoxy: 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-privoxy/luasrc/controller/privoxy.lua')
-rw-r--r--applications/luci-app-privoxy/luasrc/controller/privoxy.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/applications/luci-app-privoxy/luasrc/controller/privoxy.lua b/applications/luci-app-privoxy/luasrc/controller/privoxy.lua
index 808ddbb447..7d4d982658 100644
--- a/applications/luci-app-privoxy/luasrc/controller/privoxy.lua
+++ b/applications/luci-app-privoxy/luasrc/controller/privoxy.lua
@@ -72,25 +72,25 @@ end
function service_update()
local url = DISP.build_url("admin", "system", "packages")
if not service_version() then
- return [[<h3><strong><br /><font color="red">&nbsp;&nbsp;&nbsp;&nbsp;]]
+ return [[<h3><strong><br /><font color="red">&#160;&#160;&#160;&#160;]]
.. I18N.translate("Software package '%s' is not installed." % srv_name)
- .. [[</font><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;]]
+ .. [[</font><br /><br />&#160;&#160;&#160;&#160;]]
.. I18N.translate("required") .. [[: ]] .. srv_name .. [[ ]] .. srv_ver_min .. " " .. I18N.translate("or higher")
- .. [[<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;]]
+ .. [[<br /><br />&#160;&#160;&#160;&#160;]]
.. [[<a href="]] .. url ..[[">]]
.. I18N.translate("Please install current version !")
- .. [[</a><br />&nbsp;</strong></h3>]]
+ .. [[</a><br />&#160;</strong></h3>]]
else
- return [[<h3><strong><br /><br /><font color="red">&nbsp;&nbsp;&nbsp;&nbsp;]]
+ return [[<h3><strong><br /><br /><font color="red">&#160;&#160;&#160;&#160;]]
.. I18N.translate("Software package '%s' is outdated." % srv_name)
- .. [[</font><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;]]
+ .. [[</font><br /><br />&#160;&#160;&#160;&#160;]]
.. I18N.translate("installed") .. ": " .. service_version()
- .. [[<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;]]
+ .. [[<br /><br />&#160;&#160;&#160;&#160;]]
.. I18N.translate("required") .. ": " .. srv_ver_min .. " " .. I18N.translate("or higher")
- .. [[<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;]]
+ .. [[<br /><br />&#160;&#160;&#160;&#160;]]
.. [[<a href="]] .. url ..[[">]]
.. I18N.translate("Please update to the current version!")
- .. [[</a><br /><br />&nbsp;</strong></h3>]]
+ .. [[</a><br /><br />&#160;</strong></h3>]]
end
end