Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #2346 -- Escaped string output in titles in admin interface. Th…

…anks Gary

Wilson.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 24fa22883ab7bfa1db3e8456bf4e469d152cc16b 1 parent 49bb884
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/templates/admin/base.html
View
2  django/contrib/admin/templates/admin/base.html
@@ -36,7 +36,7 @@
<!-- Content -->
<div id="content" class="{% block coltype %}colM{% endblock %}">
{% block pretitle %}{% endblock %}
- {% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %}
+ {% block content_title %}{% if title %}<h1>{{ title|escape }}</h1>{% endif %}{% endblock %}
{% block content %}{{ content }}{% endblock %}
{% block sidebar %}{% endblock %}
<br class="clear" />
Please sign in to comment.
Something went wrong with that request. Please try again.