summaryrefslogtreecommitdiffstats
path: root/postfix-details-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'postfix-details-html.lsp')
-rw-r--r--postfix-details-html.lsp7
1 files changed, 3 insertions, 4 deletions
diff --git a/postfix-details-html.lsp b/postfix-details-html.lsp
index 78db808..d261b13 100644
--- a/postfix-details-html.lsp
+++ b/postfix-details-html.lsp
@@ -5,7 +5,6 @@ html = require("acf.html")
<% viewlibrary.dispatch_component("status") %>
-<h2><%= html.html_escape(data.label) %></h2>
-<%
-htmlviewfunctions.displayitem(data)
-%>
+<% local header_level = htmlviewfunctions.displaysectionstart(data, page_info) %>
+<% htmlviewfunctions.displayitem(data) %>
+<% htmlviewfunctions.displaysectionend(header_level) %>