Mercurial > hg
changeset 5834:5e7a8ea375a6
Fix XHTML validation error on file diff page.
Replaces <div>, a block level element, with <span>, it's inline
counterpart, in <pre>, which is also an inline element.
author | Kevin Christen <kevin.christen@gmail.com> |
---|---|
date | Tue, 08 Jan 2008 21:12:30 -0600 |
parents | 323b9c55b328 |
children | bd34f0ac3cb0 |
files | templates/gitweb/map |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/gitweb/map Fri Jan 11 13:06:38 2008 -0600 +++ b/templates/gitweb/map Tue Jan 08 21:12:30 2008 -0600 @@ -24,10 +24,10 @@ filelog = filelog.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" class="parity#parity#"><td class="linenr" style="text-align: right;"><a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#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>' -diffline = '<div>#line|escape#</div>' +difflineplus = '<span style="color:#008800;">#line|escape#</span>' +difflineminus = '<span style="color:#cc0000;">#line|escape#</span>' +difflineat = '<span style="color:#990099;">#line|escape#</span>' +diffline = '<span>#line|escape#</span>' changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' changesetparent = '<tr><td>parent {rev}</td><td style="font-family:monospace"><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>' filerevparent = '<tr><td>parent {rev}</td><td style="font-family:monospace"><a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'