Skip to content

Commit

Permalink
[1.2.X] Fixed #15491 -- Added a CDATA block and closed a stray tag in…
Browse files Browse the repository at this point in the history
… the comments HTML. Thanks to Jonathan Slenders for the report.

Backport of r15642 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed Feb 25, 2011
1 parent 5b342d7 commit 97e8108
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions django/contrib/comments/templates/comments/400-debug.html
Expand Up @@ -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; }
Expand All @@ -20,6 +21,7 @@
#info ol li { font-family: monospace; }
#summary { background: #ffc; }
#explanation { background:#eee; border-bottom: 0px none; }
]]>
</style>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion 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>
Expand Down

0 comments on commit 97e8108

Please sign in to comment.