Django

Code

Changeset 7078

Show
Ignore:
Timestamp:
02/03/08 01:39:10 (1 year ago)
Author:
mtredinnick
Message:

Fixed #6109 -- Marked fieldset descriptions as safe from auto-escaping. Good
catch, SomeGuy?.

Files:

Legend:

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

    r6671 r7078  
    3535   <fieldset class="module aligned {{ bound_field_set.classes }}"> 
    3636    {% if bound_field_set.name %}<h2>{{ bound_field_set.name }}</h2>{% endif %} 
    37     {% if bound_field_set.description %}<div class="description">{{ bound_field_set.description }}</div>{% endif %} 
     37    {% if bound_field_set.description %}<div class="description">{{ bound_field_set.description|safe }}</div>{% endif %} 
    3838    {% for bound_field_line in bound_field_set %} 
    3939        {% admin_field_line bound_field_line %}