diff -r f178182b1305 -r af4d8f75c5db web/views/tableview.py --- a/web/views/tableview.py Tue Jul 07 13:25:24 2009 +0200 +++ b/web/views/tableview.py Tue Jul 07 13:26:44 2009 +0200 @@ -10,7 +10,7 @@ from simplejson import dumps -from logilab.mtconverter import html_escape +from logilab.mtconverter import xml_escape from cubicweb.selectors import nonempty_rset, match_form_params from cubicweb.utils import make_uid @@ -55,7 +55,7 @@ # drop False / None values from vidargs vidargs = dict((k, v) for k, v in vidargs.iteritems() if v) self.w(u'
' % - html_escape(dumps([divid, 'table', False, vidargs]))) + xml_escape(dumps([divid, 'table', False, vidargs]))) self.w(u'
' % (divid, hidden and 'hidden' or '')) self.w(u'' % divid) filter_hiddens(self.w, facets=','.join(wdg.facet.id for wdg in fwidgets), baserql=baserql) @@ -178,7 +178,7 @@ box = MenuWidget('', 'tableActionsBox', _class='', islist=False) label = '%s' % ( self.req.datadir_url + 'liveclipboard-icon.png', - html_escape(self.req._('action(s) on this selection'))) + xml_escape(self.req._('action(s) on this selection'))) menu = PopupBoxMenu(label, isitem=False, link_class='actionsBox', ident='%sActions' % divid) box.append(menu)