mirror of https://github.com/django/django.git
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
This commit is contained in:
parent
c03b5c1091
commit
25c4ab99e3
|
@ -34,7 +34,7 @@
|
||||||
{% for bound_field_set in bound_field_sets %}
|
{% for bound_field_set in bound_field_sets %}
|
||||||
<fieldset class="module aligned {{ bound_field_set.classes }}">
|
<fieldset class="module aligned {{ bound_field_set.classes }}">
|
||||||
{% if bound_field_set.name %}<h2>{{ bound_field_set.name }}</h2>{% endif %}
|
{% 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 %}
|
{% for bound_field_line in bound_field_set %}
|
||||||
{% admin_field_line bound_field_line %}
|
{% admin_field_line bound_field_line %}
|
||||||
{% for bound_field in bound_field_line %}
|
{% for bound_field in bound_field_line %}
|
||||||
|
|
Loading…
Reference in New Issue