xhtml validation error
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 10 Aug 2009 10:56:45 +0200
changeset 54 d03369f67a1d
parent 53 fd153ecf016d
child 55 d1982791000f
xhtml validation error
views.py
--- a/views.py	Mon Aug 10 10:00:30 2009 +0200
+++ b/views.py	Mon Aug 10 10:56:45 2009 +0200
@@ -50,7 +50,8 @@
 
     def cell_call(self, row, col, **kwargs):
         entity = self.entity(row, col)
-        self.w(u'<h1 class="titleUnderline">%s</h1>' % entity.dc_long_title())
+        self.w(u'<h1 class="titleUnderline">%s</h1>'
+               % xml_escape(entity.dc_long_title()))
         rset = entity.related('subkeyword_of','object')
         self.wview('treeview', rset, 'null')