changeset 3023:a7d93a22f28c

gitweb: fix file page display problem on IE (6.0) Bad support of "white-space: pre" property.
author TK Soh <teekaysoh@yahoo.com>
date Tue, 29 Aug 2006 14:01:11 -0500
parents d5cdf25bab74
children b41cd423e5a3
files templates/map-gitweb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/templates/map-gitweb	Tue Aug 29 13:28:38 2006 -0500
+++ b/templates/map-gitweb	Tue Aug 29 14:01:11 2006 -0500
@@ -19,7 +19,7 @@
 filerevision = filerevision-gitweb.tmpl
 fileannotate = fileannotate-gitweb.tmpl
 filelog = filelog-gitweb.tmpl
-fileline = '<div style="font-family:monospace; white-space: pre;" class="parity#parity#"><span class="linenr">   #linenumber#</span> #line|escape#</div>'
+fileline = '<div style="font-family:monospace" class="parity#parity#"><pre><span class="linenr">   #linenumber#</span> #line|escape#</pre></div>'
 annotateline = '<tr style="font-family:monospace; white-space: pre;" class="parity#parity#"><td class="linenr" style="text-align: right;"><a href="?cs=#node|short#;style=gitweb">#author|obfuscate#@#rev#</a></td><td>#line|escape#</td></tr>'
 difflineplus = '<div style="color:#008800;">#line|escape#</div>'
 difflineminus = '<div style="color:#cc0000;">#line|escape#</div>'