Fix rendering of Localized string on cell links

Change-Id: I0de0f5acb34976b7e17282ce4957625f01097b5d
Closes-bug: 1236611
This commit is contained in:
Lin Hua Cheng 2013-10-07 20:40:46 -07:00
parent ec347bc293
commit a10f57b203

View File

@ -585,7 +585,7 @@ class Cell(html.HTMLElement):
link_classes = ' '.join(self.column.link_classes)
# Escape the data inside while allowing our HTML to render
data = mark_safe('<a href="%s" class="%s">%s</a>' %
(self.url, link_classes, escape(data)))
(self.url, link_classes, escape(unicode(data))))
return data
@property