From 40d449c1d8347338843202aa04ce97f3534ef599 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 8 Oct 2021 19:43:03 +0200 Subject: [PATCH] luci-app-radicale: fix markup which is not valid XHTML XHTML does not specify ` `, use ` ` instead. Signed-off-by: Jo-Philipp Wich --- .../luasrc/controller/radicale.lua | 18 +++++++++--------- .../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 [[


    ]] + return [[


    ]] .. I18N.translate("Software package '%s' is not installed." % srv_name) - .. [[

      ]] + .. [[


      ]] .. I18N.translate("required") .. [[: ]] .. srv_name .. [[ ]] .. srv_ver_min - .. [[

    ]] + .. [[

    ]] .. [[]] .. I18N.translate("Please install current version !") - .. [[
 

]] + .. [[
 

]] else - return [[


    ]] + return [[


    ]] .. I18N.translate("Software package '%s' is outdated." % srv_name) - .. [[

      ]] + .. [[


      ]] .. I18N.translate("installed") .. [[: ]] .. srv_name .. [[ ]] .. service_version() - .. [[
      ]] + .. [[
      ]] .. I18N.translate("required") .. [[: ]] .. srv_name .. [[ ]] .. srv_ver_min - .. [[

    ]] + .. [[

    ]] .. [[]] .. I18N.translate("Please update to current version !") - .. [[
 

]] + .. [[
 

]] 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 -%> <%- end %> <% end %> -- 2.30.2