Skip to content

Commit

Permalink
Fixed #2290 -- Escaped HTML in admin messages. Thanks, Sean
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Jul 7, 2006
1 parent 930929e commit 16c5cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/admin/templates/admin/base.html
Expand Up @@ -30,7 +30,7 @@
{% endif %}

{% if messages %}
<ul class="messagelist">{% for message in messages %}<li>{{ message }}</li>{% endfor %}</ul>
<ul class="messagelist">{% for message in messages %}<li>{{ message|escape }}</li>{% endfor %}</ul>
{% endif %}

<!-- Content -->
Expand Down

0 comments on commit 16c5cec

Please sign in to comment.