diff options
Diffstat (limited to 'iptables-details-html.lsp')
-rw-r--r-- | iptables-details-html.lsp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/iptables-details-html.lsp b/iptables-details-html.lsp index 9edc25d..daf646a 100644 --- a/iptables-details-html.lsp +++ b/iptables-details-html.lsp @@ -9,13 +9,13 @@ io.write("</span>") <% viewlibrary.dispatch_component("status") %> -<H2><%= data.label %></H2> +<H2><%= html.html_escape(data.label) %></H2> <DL> <% for i,tab in ipairs({"filter", "nat", "mangle"}) do %> - <H3><%= tab %></H3> + <H3><%= html.html_escape(tab) %></H3> <TABLE> - <TR><TD><%= data.value[tab].chains %> Chains</TD></TR> - <TR><TD><%= data.value[tab].rules %> Rules</TD></TR> + <TR><TD><%= html.html_escape(data.value[tab].chains) %> Chains</TD></TR> + <TR><TD><%= html.html_escape(data.value[tab].rules) %> Rules</TD></TR> </TABLE> <% end %> </DL> |