From: Pazu <pazu@pazu.com.br>
To: git@vger.kernel.org
Subject: [PATCH] Removes the <?xml?> declaration from gitweb.pl
Date: Wed, 11 Oct 2006 18:13:59 -0300 [thread overview]
Message-ID: <egjmri$atp$1@sea.gmane.org> (raw)
In-Reply-To: <egjllu$6k8$1@sea.gmane.org>
The XML declaration forces IE6 into quirks mode, breaking our
nice standards compliant stylesheet.
Signed-off-by: Marcus Brito <pazu@pazu.com.br>
---
gitweb/gitweb.perl | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 0ec1eef..ecb3b66 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -1357,7 +1357,6 @@ sub git_header_html {
print $cgi->header(-type=>$content_type, -charset => 'utf-8',
-status=> $status, -expires => $expires);
print <<EOF;
-<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<!-- git web interface version $version, (C) 2005-2006, Kay Sievers
<kay.sievers\@vrfy.org>, Christian Gierke -->
--
1.4.2.3
next prev parent reply other threads:[~2006-10-11 21:23 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-11 17:25 Gitweb indentation wrong in Internet Explorer Ralf Baechle
2006-10-11 17:47 ` Jakub Narebski
2006-10-11 18:15 ` Ralf Baechle
2006-10-11 20:53 ` Pazu
2006-10-11 21:13 ` Pazu [this message]
2006-10-11 21:27 ` [PATCH] Removes the <?xml?> declaration from gitweb.pl Jakub Narebski
2006-10-12 0:26 ` Pazu
2006-10-12 1:08 ` Pazu
2006-10-12 5:45 ` Robin Rosenberg
2006-10-12 21:21 ` Jakub Narebski
2006-10-13 13:01 ` Pazu
2006-10-13 13:07 ` Jakub Narebski
2006-10-13 14:09 ` Pazu
2006-10-13 14:05 ` Robin Rosenberg
2006-10-13 15:09 ` Jakub Narebski
2006-10-11 18:13 ` Gitweb indentation wrong in Internet Explorer Luben Tuikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='egjmri$atp$1@sea.gmane.org' \
--to=pazu@pazu.com.br \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.