summaryrefslogtreecommitdiffstats
path: root/Doc/perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-03-22 17:23:03 (GMT)
committerFred Drake <fdrake@acm.org>2002-03-22 17:23:03 (GMT)
commit3dc3f09ce5837da4cedfcaa3928b96d64affb341 (patch)
treeae9ec0eb5e461e6e9d2bbaa5286ee95d0b1aa4c0 /Doc/perl
parent984d22005a339410644b24a7468f2935167b6887 (diff)
downloadcpython-3dc3f09ce5837da4cedfcaa3928b96d64affb341.zip
cpython-3dc3f09ce5837da4cedfcaa3928b96d64affb341.tar.gz
cpython-3dc3f09ce5837da4cedfcaa3928b96d64affb341.tar.bz2
Fix broken HTML in the head; this was reported by a user as causing Opera 6.01
to crash. The user has reported the problem to Opera, but we still should generate something that passes for HTML.
Diffstat (limited to 'Doc/perl')
-rw-r--r--Doc/perl/l2hinit.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl
index 19f0232..7a3aeeb 100644
--- a/Doc/perl/l2hinit.perl
+++ b/Doc/perl/l2hinit.perl
@@ -613,7 +613,7 @@ sub make_head_and_body {
$MY_PARTIAL_HEADER = join('',
($CHARSET && $HTML_VERSION ge "2.1"
? ('<meta http-equiv="Content-Type" content="text/html; '
- . "charset=$charset\">\n")
+ . "charset=$CHARSET\">\n")
: ''),
($BASE ? "<base href=\"$BASE\">\n" : ''),
"<link rel=\"STYLESHEET\" href=\"$STYLESHEET\">\n",