drop 2 additional call to xml_escape on already escape, html content. Closes #2089074 stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 11 Nov 2011 14:38:39 +0100
branchstable
changeset 799 c26ca1914724
parent 798 b6a790bc5d43
child 800 5902db684c1b
drop 2 additional call to xml_escape on already escape, html content. Closes #2089074
views/testexecution.py
--- a/views/testexecution.py	Thu Dec 08 12:33:26 2011 +0100
+++ b/views/testexecution.py	Fri Nov 11 14:38:39 2011 +0100
@@ -300,17 +300,15 @@
             status = self._cw._('%(pe)s/%(config)s on %(date)s: %(status)s') % {
                 'config': xml_escape(entity.configuration.dc_title()),
                 'pe': xml_escape(entity.environment.dc_title()),
-                'status': xml_escape(status),
+                'status': status,
                 'date': entity.printable_value('starttime')}
         else:
             status = self._cw._('%(pe)s/%(config)s <%(status)s>') % {
                 'config': xml_escape(entity.configuration.dc_title()),
                 'pe': xml_escape(entity.environment.dc_title()),
-                'status': xml_escape(status)}
+                'status': status}
         self.w('<a href="%s" title="%s">%s</a>' % (
-               entity.absolute_url(),
-               self._cw._('view details'),
-               xml_escape(status)))
+               entity.absolute_url(), self._cw._('view details'), status))
 
 
 class TEDownloadBox(box.EntityBoxTemplate):