Django

Code

Changeset 6784

Show
Ignore:
Timestamp:
12/01/07 10:39:28 (9 months ago)
Author:
jkocherhans
Message:

newforms-admin: Fixed #6078. Blank spaces in the chnage list are now marked safe. Thanks toke and Karen Tracy.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/newforms-admin/django/contrib/admin/templatetags/admin_list.py

    r6782 r6784  
    186186                result_repr = escape(field_val) 
    187187        if force_unicode(result_repr) == '': 
    188             result_repr = ' ' 
     188            result_repr = mark_safe(' ') 
    189189        # If list_display_links not defined, add the link tag to the first field 
    190190        if (first and not cl.list_display_links) or field_name in cl.list_display_links: