Skip to content

Commit f27365e

Browse files
committed
Fixed #6061 -- Don't escape help_text in the admin interface (so that it
behaves as documented). Thanks, baumer. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 4262765 commit f27365e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django/contrib/admin/templates/admin/field_line.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
{% if bound_field.has_label_first %}{% field_label bound_field %}{% endif %}
66
{% field_widget bound_field %}
77
{% if not bound_field.has_label_first %}{% field_label bound_field %}{% endif %}
8-
{% if bound_field.field.help_text %}<p class="help">{{ bound_field.field.help_text }}</p>{% endif %}
8+
{% if bound_field.field.help_text %}<p class="help">{{ bound_field.field.help_text|safe }}</p>{% endif %}
99
{% endfor %}
1010
</div>

0 commit comments

Comments
 (0)