[Mpuls-commits] r4065 - base/trunk/mpulsweb/templates/news

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Oct 28 12:34:48 CEST 2010


Author: torsten
Date: 2010-10-28 12:34:48 +0200 (Thu, 28 Oct 2010)
New Revision: 4065

Modified:
   base/trunk/mpulsweb/templates/news/newslist.mako
Log:
* mpulsweb/templates/news/newslist.mako: Do not escape title and text
in news.


Modified: base/trunk/mpulsweb/templates/news/newslist.mako
===================================================================
--- base/trunk/mpulsweb/templates/news/newslist.mako	2010-10-28 10:33:20 UTC (rev 4064)
+++ base/trunk/mpulsweb/templates/news/newslist.mako	2010-10-28 10:34:48 UTC (rev 4065)
@@ -4,12 +4,12 @@
   <table class="news">
     <tr>
       <td class="date table_header_h">${h.dd_mm_YYYY(news.date)}</td>
-      <td class="title table_header_h">${news.title}</td>
+      <td class="title table_header_h">${h.literal(news.title)}</td>
       <td class="action table_header_h"><a href="${h.url_for(controller='/news', action='hide', id=news.id)}">entfernen</a></td>
     </tr>
     <tr>
       <td class="message" colspan="3">
-          ${news.text} 
+          ${h.literal(news.text)} 
       </td>
     </tr>
   </table>



More information about the Mpuls-commits mailing list