Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 25c4ab99e3b6f00407c0745a8377a0af93d5f4b6 1 parent c03b5c1
Malcolm Tredinnick authored February 03, 2008
2  django/contrib/admin/templates/admin/change_form.html
@@ -34,7 +34,7 @@
34 34
 {% for bound_field_set in bound_field_sets %}
35 35
    <fieldset class="module aligned {{ bound_field_set.classes }}">
36 36
     {% 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 %}
38 38
     {% for bound_field_line in bound_field_set %}
39 39
         {% admin_field_line bound_field_line %}
40 40
         {% for bound_field in bound_field_line %}

0 notes on commit 25c4ab9

Please sign in to comment.
Something went wrong with that request. Please try again.