diff -r 5c217bcc4597 -r 2239626369f5 mercurial/templates/gitweb/map
--- a/mercurial/templates/gitweb/map Sun Sep 13 22:34:58 2015 +0900
+++ b/mercurial/templates/gitweb/map Tue Sep 22 02:09:10 2015 +0800
@@ -93,9 +93,7 @@
filecomparison = filecomparison.tmpl
filelog = filelog.tmpl
fileline = '
-
'
+ {strip(line|escape, '\r\n')}'
annotateline = '
@@ -105,10 +103,14 @@
| {linenumber} |
{line|escape} |
'
-difflineplus = '{linenumber} {line|escape}'
-difflineminus = '{linenumber} {line|escape}'
-difflineat = '{linenumber} {line|escape}'
-diffline = '{linenumber} {line|escape}'
+difflineplus = '
+ {strip(line|escape, '\r\n')}'
+difflineminus = '
+ {strip(line|escape, '\r\n')}'
+difflineat = '
+ {strip(line|escape, '\r\n')}'
+diffline = '
+ {strip(line|escape, '\r\n')}'
comparisonblock ='
@@ -223,7 +225,7 @@
files
'
-diffblock = '{lines}
'
+diffblock = ''
filediffparent = '
parent {rev} |