Code

Ticket #6061: patch.diff

File patch.diff, 712 bytes (added by baumer1122, 6 years ago)
Line 
1Index: contrib/admin/templates/admin/field_line.html
2===================================================================
3--- contrib/admin/templates/admin/field_line.html       (revision 6778)
4+++ contrib/admin/templates/admin/field_line.html       (working copy)
5@@ -5,6 +5,6 @@
6   {% if bound_field.has_label_first %}{% field_label bound_field %}{% endif %}
7   {% field_widget bound_field %}
8   {% if not bound_field.has_label_first %}{% field_label bound_field %}{% endif %}
9-  {% if bound_field.field.help_text %}<p class="help">{{ bound_field.field.help_text }}</p>{% endif %}
10+  {% if bound_field.field.help_text %}<p class="help">{{ bound_field.field.help_text|safe }}</p>{% endif %}
11 {% endfor %}
12 </div>