Kaydet (Commit) cf43004b authored tarafından Fred Drake's avatar Fred Drake

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.
üst 9d50d138
...@@ -613,7 +613,7 @@ sub make_head_and_body { ...@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment