From 25c4ab99e3b6f00407c0745a8377a0af93d5f4b6 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sun, 3 Feb 2008 07:39:10 +0000 Subject: [PATCH] Fixed #6109 -- Marked fieldset descriptions as safe from auto-escaping. Good catch, SomeGuy. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7078 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templates/admin/change_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/templates/admin/change_form.html b/django/contrib/admin/templates/admin/change_form.html index 2e10ec19fd..d540cf6e79 100644 --- a/django/contrib/admin/templates/admin/change_form.html +++ b/django/contrib/admin/templates/admin/change_form.html @@ -34,7 +34,7 @@ {% for bound_field_set in bound_field_sets %}
{% if bound_field_set.name %}

{{ bound_field_set.name }}

{% endif %} - {% if bound_field_set.description %}
{{ bound_field_set.description }}
{% endif %} + {% if bound_field_set.description %}
{{ bound_field_set.description|safe }}
{% endif %} {% for bound_field_line in bound_field_set %} {% admin_field_line bound_field_line %} {% for bound_field in bound_field_line %}