Skip to content

Commit

Permalink
Fix django 1.8 help text
Browse files Browse the repository at this point in the history
  • Loading branch information
acatton committed Sep 25, 2015
1 parent 17ae09f commit fe6d044
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
1.1.3 (unreleased)
------------------

- Nothing changed yet.
- (Bugfix) Help text is not HTML-escaped anymore in Django 1.8
- <https://docs.djangoproject.com/en/1.8/ref/models/fields/#django.db.models.Field.help_text>


1.1.2 (2015-09-21)
Expand Down
2 changes: 1 addition & 1 deletion betterforms/templates/betterforms/field_as_div.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% endif %}

{% if field.help_text %}
<p class="help_text">{{ field.help_text }}</p>
<p class="help_text">{{ field.help_text|safe }}</p>
{% endif %}

{{ field }}
Expand Down

0 comments on commit fe6d044

Please sign in to comment.