From ebc6f90d4445e31724e35c23dbf6d9a1953466bd Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Fri, 14 Jul 2006 11:48:25 +0000 Subject: Escaped variables that should not be interpreted as HTML and which might contain dangerous characters. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3350 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templates/admin_doc/template_detail.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'django/contrib/admin/templates/admin_doc/template_detail.html') diff --git a/django/contrib/admin/templates/admin_doc/template_detail.html b/django/contrib/admin/templates/admin_doc/template_detail.html index df67f1856b..280ea912d0 100644 --- a/django/contrib/admin/templates/admin_doc/template_detail.html +++ b/django/contrib/admin/templates/admin_doc/template_detail.html @@ -1,19 +1,19 @@ {% extends "admin/base_site.html" %} {% load i18n %} -{% block breadcrumbs %}{% endblock %} +{% block breadcrumbs %}{% endblock %} {% block userlinks %}{% trans 'Change password' %} / {% trans 'Log out' %}{% endblock %} -{% block title %}Template: {{ name }}{% endblock %} +{% block title %}Template: {{ name|escape }}{% endblock %} {% block content %} -

Template: "{{ name }}"

+

Template: "{{ name|escape }}"

{% regroup templates|dictsort:"site_id" by site as templates_by_site %} {% for group in templates_by_site %} -

Search path for template "{{ name }}" on {{ group.grouper }}:

+

Search path for template "{{ name|escape }}" on {{ group.grouper }}:

    {% for template in group.list|dictsort:"order" %} -
  1. {{ template.file }}{% if not template.exists %} (does not exist){% endif %}
  2. +
  3. {{ template.file|escape }}{% if not template.exists %} (does not exist){% endif %}
  4. {% endfor %}
{% endfor %} -- cgit v1.3