gitweb: fix annotate page display problem on IE (6.0)
authorTK Soh <teekaysoh@yahoo.com>
Tue, 29 Aug 2006 14:04:54 -0500
changeset 3024 b41cd423e5a3
parent 3023 a7d93a22f28c
child 3025 d9b8d28c0b94
gitweb: fix annotate page display problem on IE (6.0) Bad support of "white-space: pre" property.
templates/map-gitweb
--- a/templates/map-gitweb	Tue Aug 29 14:01:11 2006 -0500
+++ b/templates/map-gitweb	Tue Aug 29 14:04:54 2006 -0500
@@ -20,7 +20,7 @@
 fileannotate = fileannotate-gitweb.tmpl
 filelog = filelog-gitweb.tmpl
 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>'
+annotateline = '<tr style="font-family:monospace" class="parity#parity#"><td class="linenr" style="text-align: right;"><a href="?cs=#node|short#;style=gitweb">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>'
 difflineplus = '<div style="color:#008800;">#line|escape#</div>'
 difflineminus = '<div style="color:#cc0000;">#line|escape#</div>'
 difflineat = '<div style="color:#990099;">#line|escape#</div>'