Django

Code

Changeset 6781

Show
Ignore:
Timestamp:
11/30/07 13:59:13 (7 months ago)
Author:
mtredinnick
Message:

Fixed #6061 -- Don't escape help_text in the admin interface (so that it
behaves as documented). Thanks, baumer.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/admin/templates/admin/field_line.html

    r3037 r6781  
    66  {% field_widget bound_field %} 
    77  {% if not bound_field.has_label_first %}{% field_label bound_field %}{% endif %} 
    8   {% if bound_field.field.help_text %}<p class="help">{{ bound_field.field.help_text }}</p>{% endif %} 
     8  {% if bound_field.field.help_text %}<p class="help">{{ bound_field.field.help_text|safe }}</p>{% endif %} 
    99{% endfor %} 
    1010</div>