Author: tmckay
Date: 2012-03-29 18:51:14 +0000 (Thu, 29 Mar 2012)
New Revision: 5276
Modified:
trunk/cumin/python/cumin/objectframe.py
Log:
Fix double escape on the Details page
BZ438142 (modification)
Modified: trunk/cumin/python/cumin/objectframe.py
===================================================================
--- trunk/cumin/python/cumin/objectframe.py 2012-03-28 17:54:06 UTC (rev 5275)
+++ trunk/cumin/python/cumin/objectframe.py 2012-03-29 18:51:14 UTC (rev 5276)
@@ -107,7 +107,8 @@
for attr in self.get_attributes(session):
# name and title are from rosemary xml files
name = attr.title
- value = obj.get_formatted_value(attr.name, escape=True)
+ # We are going to escape the value in ObjectAttributesEntry below
+ value = obj.get_formatted_value(attr.name, escape=False)
title = attr.description
writer.write(self.entry.render(session, name, value, title))
Show replies by date