diff -r f178182b1305 -r af4d8f75c5db web/views/cwuser.py
--- a/web/views/cwuser.py Tue Jul 07 13:25:24 2009 +0200
+++ b/web/views/cwuser.py Tue Jul 07 13:26:44 2009 +0200
@@ -7,7 +7,7 @@
"""
__docformat__ = "restructuredtext en"
-from logilab.mtconverter import html_escape
+from logilab.mtconverter import xml_escape
from cubicweb.selectors import one_line_rset, implements, match_user_groups
from cubicweb.view import EntityView
@@ -52,14 +52,14 @@
''' % (entity.absolute_url(), entity.absolute_url()))
self.w(u'\n' % entity.eid)
- self.w(u'%s\n' % html_escape(entity.dc_long_title()))
+ self.w(u'%s\n' % xml_escape(entity.dc_long_title()))
if entity.surname:
self.w(u'%s\n'
- % html_escape(entity.surname))
+ % xml_escape(entity.surname))
if entity.firstname:
self.w(u'%s\n'
- % html_escape(entity.firstname))
+ % xml_escape(entity.firstname))
emailaddr = entity.get_email()
if emailaddr:
- self.w(u'%s\n' % html_escape(emailaddr))
+ self.w(u'%s\n' % xml_escape(emailaddr))
self.w(u'\n')