# HG changeset patch # User TK Soh # Date 1146744115 -7200 # Node ID f027bc2d3f4a9a6c07a4a017a769a67481bd0b04 # Parent 62ae3d1401852b106dd2150e09127d40fd7a2e72 gitweb: strip leading & trailing blank lines in changeset description diff -r 62ae3d140185 -r f027bc2d3f4a templates/changelogentry-gitweb.tmpl --- a/templates/changelogentry-gitweb.tmpl Wed May 03 13:12:34 2006 +0200 +++ b/templates/changelogentry-gitweb.tmpl Thu May 04 14:01:55 2006 +0200 @@ -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 -r 62ae3d140185 -r f027bc2d3f4a templates/changeset-gitweb.tmpl --- a/templates/changeset-gitweb.tmpl Wed May 03 13:12:34 2006 +0200 +++ b/templates/changeset-gitweb.tmpl Thu May 04 14:01:55 2006 +0200 @@ -14,7 +14,7 @@
-#desc|escape|firstline# +#desc|strip|escape|firstline#
@@ -28,7 +28,7 @@
-#desc|escape|addbreaks# +#desc|strip|escape|addbreaks#
diff -r 62ae3d140185 -r f027bc2d3f4a templates/map-gitweb --- a/templates/map-gitweb Wed May 03 13:12:34 2006 +0200 +++ b/templates/map-gitweb Thu May 04 14:01:55 2006 +0200 @@ -45,6 +45,6 @@ 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# '