diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-10-08 19:42:43 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-10-08 19:53:09 +0200 |
commit | 7d53888477b39f48deac39ad330838505c47e8d7 (patch) | |
tree | 38e7aa395434745154b24eab60f5f3229f7131d5 /applications/luci-app-privoxy/luasrc/controller/privoxy.lua | |
parent | ef60e9ecb9c10f339d0d1ee899db3a3b7717766b (diff) |
luci-app-privoxy: fix markup which is not valid XHTML
XHTML does not specify ` `, use ` ` 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.lua | 18 |
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"> ]] + return [[<h3><strong><br /><font color="red">    ]] .. I18N.translate("Software package '%s' is not installed." % srv_name) - .. [[</font><br /><br /> ]] + .. [[</font><br /><br />    ]] .. I18N.translate("required") .. [[: ]] .. srv_name .. [[ ]] .. srv_ver_min .. " " .. I18N.translate("or higher") - .. [[<br /><br /> ]] + .. [[<br /><br />    ]] .. [[<a href="]] .. url ..[[">]] .. I18N.translate("Please install current version !") - .. [[</a><br /> </strong></h3>]] + .. [[</a><br /> </strong></h3>]] else - return [[<h3><strong><br /><br /><font color="red"> ]] + return [[<h3><strong><br /><br /><font color="red">    ]] .. I18N.translate("Software package '%s' is outdated." % srv_name) - .. [[</font><br /><br /> ]] + .. [[</font><br /><br />    ]] .. I18N.translate("installed") .. ": " .. service_version() - .. [[<br /><br /> ]] + .. [[<br /><br />    ]] .. I18N.translate("required") .. ": " .. srv_ver_min .. " " .. I18N.translate("or higher") - .. [[<br /><br /> ]] + .. [[<br /><br />    ]] .. [[<a href="]] .. url ..[[">]] .. I18N.translate("Please update to the current version!") - .. [[</a><br /><br /> </strong></h3>]] + .. [[</a><br /><br /> </strong></h3>]] end end |