Merge "Fix rendering of Localized string on cell links"
This commit is contained in:
commit
aef012ead1
@ -585,7 +585,7 @@ class Cell(html.HTMLElement):
|
|||||||
link_classes = ' '.join(self.column.link_classes)
|
link_classes = ' '.join(self.column.link_classes)
|
||||||
# Escape the data inside while allowing our HTML to render
|
# Escape the data inside while allowing our HTML to render
|
||||||
data = mark_safe('<a href="%s" class="%s">%s</a>' %
|
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
|
return data
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
x
Reference in New Issue
Block a user