Author: mtredinnick
Date: 2006-07-13 20:03:01 -0500 (Thu, 13 Jul 2006)
New Revision: 3342
Modified:
django/trunk/django/contrib/admin/templates/admin/base.html
Log:
Fixed #2346 -- Escaped string output in titles in admin interface. Thanks Gary
Wilson.
Modified: django/trunk/django/contrib/admin/templates/admin/base.html
===================================================================
--- django/trunk/django/contrib/admin/templates/admin/base.html 2006-07-14
01:00:09 UTC (rev 3341)
+++ django/trunk/django/contrib/admin/templates/admin/base.html 2006-07-14
01:03:01 UTC (rev 3342)
@@ -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" />
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---