From: Pazu Date: Wed, 11 Oct 2006 20:53:51 GMT Subject: Re: Gitweb indentation wrong in Internet Explorer Message-ID: In-Reply-To: Jakub Narebski wrote: > Which version of gitweb? We have removed s/ / /g; in esc_html > subroutine in favor of using "white-space: pre;" in CSS some time ago, > and we have added escaping FORM FEED and ESCAPE characters. The problem here is that "white-space: pre" is only supported by IE6 in standards compliance mode[1], but the DTD declaration for this page: surprisingly triggers IE6 quirks mode[2]. A quick fix to this problem would be changing the doctype declaration to use XHTML 1.0 Transitional instead of Strict, as that would trigger IE6 standards-compliance mode. [1] http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/whitespace.asp [2] http://hsivonen.iki.fi/doctype/ -- Marcus