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...
1 parent 49bb884 commit 24fa22883ab7bfa1db3e8456bf4e469d152cc16b @malcolmt malcolmt committed Jul 14, 2006
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" />

0 comments on commit 24fa228

Please sign in to comment.