Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit f27365e5bd01c8832ca04c64606a7f03d78305b4 1 parent 4262765
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/templates/admin/field_line.html
View
2  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 %}<p class="help">{{ bound_field.field.help_text }}</p>{% endif %}
+ {% if bound_field.field.help_text %}<p class="help">{{ bound_field.field.help_text|safe }}</p>{% endif %}
{% endfor %}
</div>

0 comments on commit f27365e

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