Author: mtredinnick
Date: 2007-11-30 13:59:13 -0600 (Fri, 30 Nov 2007)
New Revision: 6781
Modified:
django/trunk/django/contrib/admin/templates/admin/field_line.html
Log:
Fixed #6061 -- Don't escape help_text in the admin interface (so that it
behaves as documented). Thanks, baumer.
Modified: django/trunk/django/contrib/admin/templates/admin/field_line.html
===================================================================
--- django/trunk/django/contrib/admin/templates/admin/field_line.html
2007-11-30 18:28:19 UTC (rev 6780)
+++ django/trunk/django/contrib/admin/templates/admin/field_line.html
2007-11-30 19:59:13 UTC (rev 6781)
@@ -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>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---