gitweb: fix file page display problem on IE (6.0)
authorTK Soh <teekaysoh@yahoo.com>
Tue, 29 Aug 2006 14:01:11 -0500
changeset 3023 a7d93a22f28c
parent 3022 d5cdf25bab74
child 3024 b41cd423e5a3
gitweb: fix file page display problem on IE (6.0) Bad support of "white-space: pre" property.
templates/map-gitweb
--- 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>'