From 35440d3aa57e9237fd24360cd3a6ed50a548fc92 Mon Sep 17 00:00:00 2001
From: Gabriel <g2p.code@gmail.com>
Date: Sun, 5 Apr 2009 19:48:07 +0200
Subject: [PATCH] Remove non-XML conditional comment that broke XHTML rendering.
Closes #9492 .
This comment removed styles for IE5 and lower.
---
django/contrib/admin/templates/admin/base.html | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html
index e969d1b..8cab439 100644
a
|
b
|
|
2 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}> |
3 | 3 | <head> |
4 | 4 | <title>{% block title %}{% endblock %}</title> |
5 | | <![if gte IE 6]><!-- Block all styles from IE5 and lower --> |
6 | 5 | <link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" /> |
7 | 6 | {% block extrastyle %}{% endblock %} |
8 | 7 | <!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="{% block stylesheet_ie %}{% load adminmedia %}{% admin_media_prefix %}css/ie.css{% endblock %}" /><![endif]--> |
9 | 8 | {% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% admin_media_prefix %}css/rtl.css{% endblock %}" />{% endif %} |
10 | | <![endif]> |
11 | 9 | {% block extrahead %}{% endblock %} |
12 | 10 | {% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %} |
13 | 11 | </head> |