]> granicus.if.org Git - python/commitdiff
Fix broken HTML in the head; this was reported by a user as causing Opera 6.01
authorFred Drake <fdrake@acm.org>
Fri, 22 Mar 2002 17:22:38 +0000 (17:22 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 22 Mar 2002 17:22:38 +0000 (17:22 +0000)
to crash.  The user has reported the problem to Opera, but we still should
generate something that passes for HTML.

Doc/perl/l2hinit.perl

index 19f02324d234e9081e4ceb46231b898f0b332b98..7a3aeeb9bb0262b345d85e7bedb9a1626a0a0cf4 100644 (file)
@@ -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",