gitweb: fix file page display problem on IE (6.0)
authorTK Soh <teekaysoh@yahoo.com>
Tue, 29 Aug 2006 14:01:11 -0500
changeset 3020 a7d93a22f28c
parent 3019 d5cdf25bab74
child 3021 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
+++ b/templates/map-gitweb
@@ -19,7 +19,7 @@ manifestfileentry = '<tr class="parity#p
 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>'