diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-10-08 19:43:03 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-10-08 19:53:09 +0200 |
commit | 40d449c1d8347338843202aa04ce97f3534ef599 (patch) | |
tree | 1c6036c64879aa340ffaa94dbb0f51c166d6de12 | |
parent | 7d53888477b39f48deac39ad330838505c47e8d7 (diff) |
luci-app-radicale: fix markup which is not valid XHTML
XHTML does not specify ` `, use ` ` instead.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | applications/luci-app-radicale/luasrc/controller/radicale.lua | 18 | ||||
-rw-r--r-- | applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/applications/luci-app-radicale/luasrc/controller/radicale.lua b/applications/luci-app-radicale/luasrc/controller/radicale.lua index 291f1b4dcc..53424207fa 100644 --- a/applications/luci-app-radicale/luasrc/controller/radicale.lua +++ b/applications/luci-app-radicale/luasrc/controller/radicale.lua @@ -58,25 +58,25 @@ function app_title_back() end function app_err_value() 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 - .. [[<br /><br /> ]] + .. [[<br /><br />    ]] .. [[<a href="]] .. DISP.build_url("admin", "system", "packages") ..[[">]] .. I18N.translate("Please install current version !") - .. [[</a><br /> </strong></h3>]] + .. [[</a><br /> </strong></h3>]] else - return [[<h3><strong><br /><font color="red"> ]] + return [[<h3><strong><br /><font color="red">    ]] .. I18N.translate("Software package '%s' is outdated." % srv_name) - .. [[</font><br /><br /> ]] + .. [[</font><br /><br />      ]] .. I18N.translate("installed") .. [[: ]] .. srv_name .. [[ ]] .. service_version() - .. [[<br /> ]] + .. [[<br />      ]] .. I18N.translate("required") .. [[: ]] .. srv_name .. [[ ]] .. srv_ver_min - .. [[<br /><br /> ]] + .. [[<br /><br />    ]] .. [[<a href="]] .. DISP.build_url("admin", "system", "packages") ..[[">]] .. I18N.translate("Please update to current version !") - .. [[</a><br /> </strong></h3>]] + .. [[</a><br /> </strong></h3>]] end end diff --git a/applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm b/applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm index fdb3f27abc..1ad8f0061e 100644 --- a/applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm +++ b/applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm @@ -47,7 +47,7 @@ <% for _, section in ipairs(self.children) do %> <% if section.error and section.error[section.section] then -%> <ul><li> - <%:One or more missing/invalid fields on tab%>: <%=section.title or section.section or section.sectiontype%> + <%:One or more missing/invalid fields on tab%>: <%=section.title or section.section or section.sectiontype%> </li></ul> <%- end %> <% end %> |