r9768 - helma-ng/trunk/apps/storage/skins

[email protected] Thu, 14 May 2009 20:28:25 +0200 (CEST)
Newsgroups gmane.comp.java.helma.cvs
Message-ID <20090514182825.C65713D0D6@mia>
Author: hannes
Date: 2009-05-14 20:28:25 +0200 (Thu, 14 May 2009)
New Revision: 9768

Modified:
   helma-ng/trunk/apps/storage/skins/index.html
Log:
Add escapeHtml filter to book listing

Details at http://dev.helma.org/trac/helma/changeset/9768

Modified: helma-ng/trunk/apps/storage/skins/index.html
===================================================================
--- helma-ng/trunk/apps/storage/skins/index.html	2009-05-14 18:28:23 UTC (rev 9767)
+++ helma-ng/trunk/apps/storage/skins/index.html	2009-05-14 18:28:25 UTC (rev 9768)
@@ -29,8 +29,8 @@
 
 <% subskin 'book'  ----------------------------------- %>
 <tr style="<% ifEven 'background-color: #eee;' %>">
-   <td><% book.author.name %></td>
-   <td><% book.title %></td>
+   <td><% book.author.name | escapeHtml %></td>
+   <td><% book.title | escapeHtml %></td>
    <td><a href="edit/<% book._id %>">[edit]</a></td>
    <td><a href="remove/<% book._id %>">[remove]</a></td>
 </tr>
\ No newline at end of file