diff options
author | Ted Trask <ttrask01@yahoo.com> | 2016-08-10 15:42:58 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2016-08-10 15:42:58 +0000 |
commit | 9edd4f964597835e18aac743ae249fcfdc513842 (patch) | |
tree | fc36f5b5164d684980ebeaf5b8143c59da37b788 /ipsectools-details-html.lsp | |
parent | dbdc3e5e4d82f4afb56bd90047182ecbb1fdd170 (diff) | |
download | acf-ipsec-tools-master.tar.bz2 acf-ipsec-tools-master.tar.xz |
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>") |