Re: [PATCH] Removes the <?xml?> declaration from gitweb.pl
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Oct 13, 2006, 13:07 UTC
- Message-ID
- <ego331$568$2@sea.gmane.org>
- In-Reply-To
- <ego2nk$3nm$1@sea.gmane.org>
Pazu wrote:
Show 10 quoted lines
> Jakub Narebski wrote: > >> So what should be our decision? Honor IE quirks ;-) and either remove >> XML declaration, or use Transitional DTD? Add back SPC to conversion >> in esc_html? Ignore broken browsers? > > My bad here. In my first email I said that using the Transitional DTD > would fix the problem, but I was wrong. It doesn't matter the DTD you > use, if you add a <?xml?> declaration, IE will get it wrong and activate > quirks mode.
Well, there is yet another solution. Do browser detection, and do not output <?xml ... ?> declaration for IE. Perhaps that would be best solution.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git