summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2011-02-25 01:03:18 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2011-02-25 01:03:18 +0000
commitc2518f55c71e2705b959e339315990ebf359176e (patch)
tree4abb5e212182a0d49248142959cff9a6fd631f01
parenta4f791a1a63caad9106dcba08ae4091a02c94d75 (diff)
Fixed #15491 -- Added a CDATA block and closed a stray tag in the comments HTML. Thanks to Jonathan Slenders for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/comments/templates/comments/400-debug.html2
-rw-r--r--django/contrib/comments/templates/comments/base.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/django/contrib/comments/templates/comments/400-debug.html b/django/contrib/comments/templates/comments/400-debug.html
index 29593b574b..7fd20416be 100644
--- a/django/contrib/comments/templates/comments/400-debug.html
+++ b/django/contrib/comments/templates/comments/400-debug.html
@@ -5,6 +5,7 @@
<title>Comment post not allowed (400)</title>
<meta name="robots" content="NONE,NOARCHIVE" />
<style type="text/css">
+ <![CDATA[
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
@@ -20,6 +21,7 @@
#info ol li { font-family: monospace; }
#summary { background: #ffc; }
#explanation { background:#eee; border-bottom: 0px none; }
+ ]]>
</style>
</head>
<body>
diff --git a/django/contrib/comments/templates/comments/base.html b/django/contrib/comments/templates/comments/base.html
index 0f58e3e6ec..c8b9517490 100644
--- a/django/contrib/comments/templates/comments/base.html
+++ b/django/contrib/comments/templates/comments/base.html
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{% block title %}{% endblock %}</title>
</head>
<body>