modules/admin-full: filter options column through pcdata() in iptables status page
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 7 Jun 2009 13:44:50 +0000 (13:44 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 7 Jun 2009 13:44:50 +0000 (13:44 +0000)
modules/admin-full/luasrc/view/admin_status/iptables.htm

index 60a498fad0e77e264a7a5fde60045ffef314a875..b8f664c86de164c15cb9ca864f9b919d575d8f22 100644 (file)
@@ -106,7 +106,7 @@ $Id$
                                                                <td><%=link_iface(rule.outputif)%></td>
                                                                <td><%=rule.source%></td>
                                                                <td><%=rule.destination%></td>
-                                                               <td style="width:30%"><small><%=#rule.options > 0 and table.concat(rule.options, " ") or "-"%></small></td>
+                                                               <td style="width:30%"><small><%=#rule.options > 0 and luci.util.pcdata(table.concat(rule.options, " ")) or "-"%></small></td>
                                                        </tr>
                                                <% end %>