mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
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.
This commit is contained in:
parent
9d50d138e7
commit
cf43004b83
1 changed files with 1 additions and 1 deletions
|
@ -613,7 +613,7 @@ sub make_head_and_body {
|
||||||
$MY_PARTIAL_HEADER = join('',
|
$MY_PARTIAL_HEADER = join('',
|
||||||
($CHARSET && $HTML_VERSION ge "2.1"
|
($CHARSET && $HTML_VERSION ge "2.1"
|
||||||
? ('<meta http-equiv="Content-Type" content="text/html; '
|
? ('<meta http-equiv="Content-Type" content="text/html; '
|
||||||
. "charset=$charset\">\n")
|
. "charset=$CHARSET\">\n")
|
||||||
: ''),
|
: ''),
|
||||||
($BASE ? "<base href=\"$BASE\">\n" : ''),
|
($BASE ? "<base href=\"$BASE\">\n" : ''),
|
||||||
"<link rel=\"STYLESHEET\" href=\"$STYLESHEET\">\n",
|
"<link rel=\"STYLESHEET\" href=\"$STYLESHEET\">\n",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue