From 24fa22883ab7bfa1db3e8456bf4e469d152cc16b Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Fri, 14 Jul 2006 01:03:01 +0000 Subject: [PATCH] Fixed #2346 -- Escaped string output in titles in admin interface. Thanks Gary Wilson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3342 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templates/admin/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html index 67fe27529c..300e5015e5 100644 --- a/django/contrib/admin/templates/admin/base.html +++ b/django/contrib/admin/templates/admin/base.html @@ -36,7 +36,7 @@
{% block pretitle %}{% endblock %} - {% block content_title %}{% if title %}

{{ title }}

{% endif %}{% endblock %} + {% block content_title %}{% if title %}

{{ title|escape }}

{% endif %}{% endblock %} {% block content %}{{ content }}{% endblock %} {% block sidebar %}{% endblock %}