mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Fixed #2290 -- Escaped HTML in admin messages. Thanks, Sean
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
930929e2b9
commit
16c5cec9c1
@ -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 -->
|
||||
|
Loading…
Reference in New Issue
Block a user