git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Gitweb indentation wrong in Internet Explorer

From
LTLuben Tuikov <ltuikov@yahoo.com>
Date
Oct 11, 2006, 18:13 UTC
Message-ID
<20061011181348.85585.qmail@web31801.mail.mud.yahoo.com>
In-Reply-To
<20061011172553.GA1147@linux-mips.org>
--- Ralf Baechle <ralf@linux-mips.org> wrote:
Show 10 quoted lines
> I have a report from an MSIE suffering user:
> 
> > When I use it (and I believe I've seen this on my laptop as well as my
> > workstation) all left-hand margin whitespace is collapsed to nothingness.
> > Once can still parse the code, but it's harder with no indentations.
> 
> A screenshot from a Windows laptop to illustrate the problem is at
> http://www.linux-mips.org/~ralf/gitweb.png.  It shows the code was
> preformatted correctly which seems to be an IE bug but the following patch
> seems to work around it.
Thank you.
Has anyone let MSIE people know about this bug?  Or tried latest MSIE?
   Luben
Show 21 quoted lines
> 
> *** gitweb.cgi.dist	2006-10-09 19:02:19.561726255 +0100
> --- gitweb.cgi	2006-10-09 19:03:31.744837495 +0100
> ***************
> *** 234,239 ****
> --- 234,240 ----
>   	my $str = shift;
>   	$str = decode("utf8", $str, Encode::FB_DEFAULT);
>   	$str = escapeHTML($str);
> + 	$str =~ s/ /&nbsp;/g;
>   	return $str;
>   }
> 
> Thanks,
> 
>   Ralf  
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
Previous: Jakub Narebski
Message 16 of 16 in “Gitweb indentation wrong in Internet Explorer”
  1. Ralf BaechleOct 11, 2006
  2. Jakub NarebskiOct 11, 2006
  3. Ralf BaechleOct 11, 2006
  4. PazuOct 11, 2006
  5. Removes the <?xml?> declaration from gitweb.plPazu, Oct 11, 2006
  6. Jakub NarebskiOct 11, 2006
  7. PazuOct 12, 2006
  8. PazuOct 12, 2006
  9. Robin RosenbergOct 12, 2006
  10. Jakub NarebskiOct 12, 2006
  11. PazuOct 13, 2006
  12. Jakub NarebskiOct 13, 2006
  13. PazuOct 13, 2006
  14. Robin RosenbergOct 13, 2006
  15. Jakub NarebskiOct 13, 2006
  16. Luben TuikovOct 11, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.