Escape <> in TestExecution outofcontext view (closes #2127106) stable
authorJulien Cristau <julien.cristau@logilab.fr>
Wed, 21 Dec 2011 17:52:02 +0100
branchstable
changeset 803 8c0027f1a811
parent 802 e08097e621ee
child 804 83292caad00c
Escape <> in TestExecution outofcontext view (closes #2127106)
i18n/en.po
i18n/fr.po
views/testexecution.py
--- a/i18n/en.po	Wed Dec 21 17:51:38 2011 +0100
+++ b/i18n/en.po	Wed Dec 21 17:52:02 2011 +0100
@@ -25,7 +25,7 @@
 msgstr ""
 
 #, python-format
-msgid "%(pe)s/%(config)s <%(status)s>"
+msgid "%(pe)s/%(config)s &lt;%(status)s&gt;"
 msgstr ""
 
 #, python-format
--- a/i18n/fr.po	Wed Dec 21 17:51:38 2011 +0100
+++ b/i18n/fr.po	Wed Dec 21 17:52:02 2011 +0100
@@ -32,7 +32,7 @@
 msgstr "%(nb)s vérifications exécutées en %(dur)s"
 
 #, python-format
-msgid "%(pe)s/%(config)s <%(status)s>"
+msgid "%(pe)s/%(config)s &lt;%(status)s&gt;"
 msgstr ""
 
 #, python-format
--- a/views/testexecution.py	Wed Dec 21 17:51:38 2011 +0100
+++ b/views/testexecution.py	Wed Dec 21 17:52:02 2011 +0100
@@ -303,7 +303,7 @@
                 'status': status,
                 'date': entity.printable_value('starttime')}
         else:
-            status = self._cw._('%(pe)s/%(config)s <%(status)s>') % {
+            status = self._cw._('%(pe)s/%(config)s &lt;%(status)s&gt;') % {
                 'config': xml_escape(entity.configuration.dc_title()),
                 'pe': xml_escape(entity.environment.dc_title()),
                 'status': status}