Permalink
Browse files

Fixed #6109 -- Marked fieldset descriptions as safe from auto-escapin…

…g. Good

catch, SomeGuy.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent c03b5c1 commit 25c4ab99e3b6f00407c0745a8377a0af93d5f4b6 @malcolmt malcolmt committed Feb 3, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/templates/admin/change_form.html
View
2 django/contrib/admin/templates/admin/change_form.html
@@ -34,7 +34,7 @@
{% for bound_field_set in bound_field_sets %}
<fieldset class="module aligned {{ bound_field_set.classes }}">
{% if bound_field_set.name %}<h2>{{ bound_field_set.name }}</h2>{% endif %}
- {% if bound_field_set.description %}<div class="description">{{ bound_field_set.description }}</div>{% endif %}
+ {% if bound_field_set.description %}<div class="description">{{ bound_field_set.description|safe }}</div>{% endif %}
{% for bound_field_line in bound_field_set %}
{% admin_field_line bound_field_line %}
{% for bound_field in bound_field_line %}

0 comments on commit 25c4ab9

Please sign in to comment.