diff options
-rw-r--r-- | openntpd-config-html.lsp | 2 | ||||
-rw-r--r-- | openntpd-details-html.lsp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openntpd-config-html.lsp b/openntpd-config-html.lsp index 72ba5b6..3c03dc1 100644 --- a/openntpd-config-html.lsp +++ b/openntpd-config-html.lsp @@ -15,7 +15,7 @@ io.write("</span>") viewlibrary.dispatch_component("status") end %> -<H1><%= form.label %></H1> +<H1><%= html.html_escape(form.label) %></H1> <% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action local order = { "setstimeonstartup", "listen", "server", "servers" } diff --git a/openntpd-details-html.lsp b/openntpd-details-html.lsp index 0aa9292..125e4b4 100644 --- a/openntpd-details-html.lsp +++ b/openntpd-details-html.lsp @@ -13,7 +13,7 @@ io.write("</span>") viewlibrary.dispatch_component("status") end %> -<H2><%= data.label %></H2> +<H2><%= html.html_escape(data.label) %></H2> <DL> <% displayitem(data.value.date) |