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