diff -r 70a6dcda4f3c django/contrib/admin/templatetags/admin_list.py
a
|
b
|
def items_for_result(cl, result):
|
185 | 185 | else: |
186 | 186 | result_repr = escape(field_val) |
187 | 187 | if force_unicode(result_repr) == '': |
188 | | result_repr = ' ' |
| 188 | result_repr = mark_safe(' ') |
189 | 189 | # If list_display_links not defined, add the link tag to the first field |
190 | 190 | if (first and not cl.lookup_opts.admin.list_display_links) or field_name in cl.lookup_opts.admin.list_display_links: |
191 | 191 | table_tag = {True:'th', False:'td'}[first] |