Ticket #6226: allow_tags_fix.diff

File allow_tags_fix.diff, 590 bytes (added by Jeffrey Gelens, 17 years ago)

patch

  • django/contrib/admin/templatetags/admin_list.py

     
    148148                # function has an "allow_tags" attribute set to True.
    149149                if not allow_tags:
    150150                    result_repr = escape(result_repr)
     151                else:
     152                    result_repr = mark_safe(result_repr)
    151153        else:
    152154            field_val = getattr(result, f.attname)
    153155
Back to Top