diff -r e7ae807554d9 -r 613064b49331 web/views/basetemplates.py --- a/web/views/basetemplates.py Fri Sep 11 12:42:37 2009 +0200 +++ b/web/views/basetemplates.py Fri Sep 11 15:55:15 2009 +0200 @@ -480,8 +480,12 @@ self.req.add_css('cubicweb.login.css') self.w(u'
' % (id, klass)) if title: - self.w(u'
%s
' - % (self.req.property_value('ui.site-title') or u' ')) + stitle = self.req.property_value('ui.site-title') + if stitle: + stitle = xml_escape(stitle) + else: + stitle = u' ' + self.w(u'
%s
' % stitle) self.w(u'
\n') if message: