Merge "Fix rendering of Localized string on cell links"

This commit is contained in:
Jenkins 2013-10-10 17:06:32 +00:00 committed by Gerrit Code Review
commit aef012ead1

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