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 60a498f..b8f664c 100644 (file)
@@ -106,7 +106,7 @@ $Id$
                                                                <td><%=link_iface(rule.outputif)%></td>
                                                                <td><%=rule.source%></td>
                                                                <td><%=rule.destination%></td>
                                                                <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 %>
 
                                                        </tr>
                                                <% end %>