[breadcrumbs] closes #1717489: Double escaping in breadcrumbs stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 15 Jun 2011 17:09:44 +0200
branchstable
changeset 7511 dfe6c25c6371
parent 7510 dd212db4d097
child 7512 d2de5fb0cc33
[breadcrumbs] closes #1717489: Double escaping in breadcrumbs
web/views/ibreadcrumbs.py
--- a/web/views/ibreadcrumbs.py	Wed Jun 15 12:48:04 2011 +0200
+++ b/web/views/ibreadcrumbs.py	Wed Jun 15 17:09:44 2011 +0200
@@ -195,7 +195,7 @@
 
     def cell_call(self, row, col, **kwargs):
         entity = self.cw_rset.get_entity(row, col)
-        desc = xml_escape(uilib.cut(entity.dc_description(), 50))
+        desc = uilib.cut(entity.dc_description(), 50)
         # NOTE remember camember: tags.a autoescapes
         self.w(tags.a(entity.view('breadcrumbtext'),
                       href=entity.absolute_url(), title=desc))