From f27365e5bd01c8832ca04c64606a7f03d78305b4 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Fri, 30 Nov 2007 19:59:13 +0000 Subject: [PATCH] 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 --- django/contrib/admin/templates/admin/field_line.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/templates/admin/field_line.html b/django/contrib/admin/templates/admin/field_line.html index 680830b506..f4b53fff67 100644 --- a/django/contrib/admin/templates/admin/field_line.html +++ b/django/contrib/admin/templates/admin/field_line.html @@ -5,6 +5,6 @@ {% if bound_field.has_label_first %}{% field_label bound_field %}{% endif %} {% field_widget bound_field %} {% if not bound_field.has_label_first %}{% field_label bound_field %}{% endif %} - {% if bound_field.field.help_text %}

{{ bound_field.field.help_text }}

{% endif %} + {% if bound_field.field.help_text %}

{{ bound_field.field.help_text|safe }}

{% endif %} {% endfor %}