projects
/
django-tables2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Fixed bug with LinkColumn when using unicode. Thanks kwevej
[django-tables2.git]
/
django_tables
/
utils.py
diff --git
a/django_tables/utils.py
b/django_tables/utils.py
index 405f4471274b0ca33eae65c00b525dfdd1d7822a..93107ddf7fc7c0732eacce28aaf8b0c51b77ac0d 100644
(file)
--- a/
django_tables/utils.py
+++ b/
django_tables/utils.py
@@
-270,5
+270,5
@@
class AttributeDict(dict):
:rtype: :class:`~django.utils.safestring.SafeUnicode` object
"""
- return mark_safe(' '.join(['%s="%s"' % (k, escape(v))
+ return mark_safe(' '.join([
u
'%s="%s"' % (k, escape(v))
for k, v in self.iteritems()]))