diff --git a/templates/map-gitweb b/templates/map-gitweb
--- a/templates/map-gitweb
+++ b/templates/map-gitweb
@@ -21,10 +21,10 @@ fileannotate = fileannotate-gitweb.tmpl
filelog = filelog-gitweb.tmpl
fileline = '
#linenumber# #line|escape#
'
annotateline = '#author|obfuscate#@#rev# | #line|escape# |
'
-difflineplus = '#line|escape#
'
-difflineminus = '#line|escape#
'
-difflineat = '#line|escape#
'
-diffline = '#line|escape#
'
+difflineplus = '#line|escape#
'
+difflineminus = '#line|escape#
'
+difflineat = '#line|escape#
'
+diffline = '#line|escape#
'
changelogparent = 'parent #rev#: | #node|short# |
'
changesetparent = 'parent | #node|short# |
'
filerevparent = 'parent: | #node|short# |
'
@@ -37,7 +37,7 @@ filerevchild = '
fileannotatechild = ' |
child: | #node|short# |
'
tags = tags-gitweb.tmpl
tagentry = '#date|age# ago | #tag|escape# | changeset | changelog | manifest |
'
-diffblock = '#lines#'
+diffblock = '#lines#
'
changelogtag = 'tag: | #tag|escape# |
'
changesettag = 'tag | #tag|escape# |
'
filediffparent = 'parent #rev#: | #node|short# |
'
diff --git a/templates/static/style-gitweb.css b/templates/static/style-gitweb.css
--- a/templates/static/style-gitweb.css
+++ b/templates/static/style-gitweb.css
@@ -47,3 +47,4 @@ a.rss_logo {
text-align:center; text-decoration:none;
}
a.rss_logo:hover { background-color:#ee5500; }
+pre { margin: 0; }