# HG changeset patch # User TK Soh # Date 2006-05-04 12:01:55 # Node ID f027bc2d3f4a9a6c07a4a017a769a67481bd0b04 # Parent 62ae3d1401852b106dd2150e09127d40fd7a2e72 gitweb: strip leading & trailing blank lines in changeset description diff --git a/templates/changelogentry-gitweb.tmpl b/templates/changelogentry-gitweb.tmpl --- a/templates/changelogentry-gitweb.tmpl +++ b/templates/changelogentry-gitweb.tmpl @@ -1,5 +1,5 @@
-#date|age# ago#desc|firstline|escape# +#date|age# ago#desc|strip|firstline|escape#
-#desc|escape|addbreaks# +#desc|strip|escape|addbreaks#

diff --git a/templates/changeset-gitweb.tmpl b/templates/changeset-gitweb.tmpl --- a/templates/changeset-gitweb.tmpl +++ b/templates/changeset-gitweb.tmpl @@ -14,7 +14,7 @@
-#desc|escape|firstline# +#desc|strip|escape|firstline#
@@ -28,7 +28,7 @@
-#desc|escape|addbreaks# +#desc|strip|escape|addbreaks#
diff --git a/templates/map-gitweb b/templates/map-gitweb --- a/templates/map-gitweb +++ b/templates/map-gitweb @@ -45,6 +45,6 @@ filelogparent = 'p filediffchild = 'child #rev#:#node|short#' filelogchild = 'child #rev#: #node|short#' shortlog = shortlog-gitweb.tmpl -shortlogentry = '#date|age# ago#author##desc|firstline|escape#changeset | manifest' -filelogentry = '#date|age# ago#desc|firstline|escape# annotate #rename%filelogrename#' +shortlogentry = '#date|age# ago#author##desc|strip|firstline|escape#changeset | manifest' +filelogentry = '#date|age# ago#desc|strip|firstline|escape# annotate #rename%filelogrename#' archiveentry = ' | #type|escape# '