goa/appobjects/components.py
changeset 2381 caad2367d940
parent 2181 94ca417b9b07
parent 2312 af4d8f75c5db
child 2789 39712da6f397
child 2996 866a2c135c33
--- a/goa/appobjects/components.py	Wed Jul 15 09:45:13 2009 +0200
+++ b/goa/appobjects/components.py	Thu Jul 16 13:30:13 2009 +0200
@@ -7,7 +7,7 @@
 """
 __docformat__ = "restructuredtext en"
 
-from logilab.mtconverter import html_escape
+from logilab.mtconverter import xml_escape
 
 from cubicweb import typed_eid
 from cubicweb.selectors import one_line_rset, match_search_state, accept
@@ -74,7 +74,7 @@
         label = display_name(req, etype, 'plural')
         view = self.vreg.select('views', 'list', req, req.etype_rset(etype))
         url = view.url()
-        etypelink = u'&nbsp;<a href="%s">%s</a>' % (html_escape(url), label)
+        etypelink = u'&nbsp;<a href="%s">%s</a>' % (xml_escape(url), label)
         yield (label, etypelink, self.add_entity_link(eschema, req))
 
 ManageView.entity_types = entity_types_no_count