Mercurial > hg
changeset 23743:606a3bf82e30
templates: remove unnecessary <span>
The <span> on diffline was useless. It was only making browsers work
harder. Remove it.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 06 Jan 2015 15:21:48 -0800 |
parents | 3a4d8a6ce432 |
children | d1933c2e3c8c |
files | mercurial/templates/gitweb/map mercurial/templates/monoblue/map |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templates/gitweb/map Tue Jan 06 23:46:18 2015 +0900 +++ b/mercurial/templates/gitweb/map Tue Jan 06 15:21:48 2015 -0800 @@ -108,7 +108,7 @@ difflineplus = '<span style="color:#008800;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' difflineat = '<span style="color:#990099;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' -diffline = '<span><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' +diffline = '<a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}' comparisonblock =' <tbody class="block">
--- a/mercurial/templates/monoblue/map Tue Jan 06 23:46:18 2015 +0900 +++ b/mercurial/templates/monoblue/map Tue Jan 06 15:21:48 2015 -0800 @@ -103,7 +103,7 @@ difflineplus = '<span style="color:#008800;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' difflineat = '<span style="color:#990099;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' -diffline = '<span><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' +diffline = '<a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}' comparisonblock =' <tbody class="block">