diff -r f178182b1305 -r af4d8f75c5db web/views/workflow.py --- a/web/views/workflow.py Tue Jul 07 13:25:24 2009 +0200 +++ b/web/views/workflow.py Tue Jul 07 13:26:44 2009 +0200 @@ -11,7 +11,7 @@ __docformat__ = "restructuredtext en" _ = unicode -from logilab.mtconverter import html_escape +from logilab.mtconverter import xml_escape from logilab.common.graph import escape, GraphGenerator, DotBackend from cubicweb import Unauthorized, view @@ -119,7 +119,7 @@ __select__ = implements('State') def cell_call(self, row, col): - self.w(html_escape(self.view('textincontext', self.rset, + self.w(xml_escape(self.view('textincontext', self.rset, row=row, col=col))) @@ -146,8 +146,8 @@ self.w(u'

%s

' % (self.req._('workflow for %s') % display_name(self.req, entity.name))) self.w(u'%s' % ( - html_escape(entity.absolute_url(vid='ewfgraph')), - html_escape(self.req._('graphical workflow for %s') % entity.name))) + xml_escape(entity.absolute_url(vid='ewfgraph')), + xml_escape(self.req._('graphical workflow for %s') % entity.name))) class WorkflowDotPropsHandler(object):