diff options
Diffstat (limited to 'ipsectools-details-html.lsp')
-rw-r--r-- | ipsectools-details-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipsectools-details-html.lsp b/ipsectools-details-html.lsp index 0c3d2ff..84d900a 100644 --- a/ipsectools-details-html.lsp +++ b/ipsectools-details-html.lsp @@ -1,4 +1,4 @@ -<% local data, viewlibrary, page_info, session = ... +<% local data, viewlibrary, page_info, session = ... htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> @@ -17,7 +17,7 @@ else io.write("<table>\n") local tags = {"Created","Source","Destination", "St", "Phase2details"} for j,tag in pairs(tags) do - io.write("<tr><td style='font-weight:bold;width:120px;border:none;'>" .. + io.write("<tr><td style='font-weight:bold;width:120px;border:none;'>" .. html.html_escape(entry[tag].label) .. "</td><td style='border:none;'>"..string.gsub(html.html_escape(entry[tag].value), "\n", "<br/>")) if (entry[tag].descr) and (#entry[tag].descr > 0) then io.write(" (".. html.html_escape(entry[tag].descr) .. ")") end io.write("</td></tr>") |