diff --git a/django/contrib/admin/templates/admin/auth/user/change_password.html b/django/contrib/admin/templates/admin/auth/user/change_password.html index bfffd2a77b..c788571fb6 100644 --- a/django/contrib/admin/templates/admin/auth/user/change_password.html +++ b/django/contrib/admin/templates/admin/auth/user/change_password.html @@ -36,7 +36,7 @@ {{ form.password1.errors }} {{ form.password1.label_tag }} {{ form.password1 }} {% if form.password1.help_text %} -

{{ form.password1.help_text }}

+

{{ form.password1.help_text|safe }}

{% endif %} @@ -44,7 +44,7 @@ {{ form.password2.errors }} {{ form.password2.label_tag }} {{ form.password2 }} {% if form.password2.help_text %} -

{{ form.password2.help_text }}

+

{{ form.password2.help_text|safe }}

{% endif %} diff --git a/django/contrib/admin/templates/registration/password_change_form.html b/django/contrib/admin/templates/registration/password_change_form.html index 1e641dcc09..a0b8375af7 100644 --- a/django/contrib/admin/templates/registration/password_change_form.html +++ b/django/contrib/admin/templates/registration/password_change_form.html @@ -36,7 +36,7 @@ {{ form.new_password1.errors }} {{ form.new_password1.label_tag }} {{ form.new_password1 }} {% if form.new_password1.help_text %} -

{{ form.new_password1.help_text }}

+

{{ form.new_password1.help_text|safe }}

{% endif %} @@ -44,7 +44,7 @@ {{ form.new_password2.errors }} {{ form.new_password2.label_tag }} {{ form.new_password2 }} {% if form.new_password2.help_text %} -

{{ form.new_password2.help_text }}

+

{{ form.new_password2.help_text|safe }}

{% endif %}