summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/gitlog2html.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/gitlog2html.pl b/tools/gitlog2html.pl
index e5e7c6c..f291432 100644
--- a/tools/gitlog2html.pl
+++ b/tools/gitlog2html.pl
@@ -96,6 +96,7 @@ while(<STDIN>) {
}
for my $l (@b) {
+ $l =~ s:^\s*::;
$l =~ s:&:&amp;:g;
$l =~ s:<:&lt;:g;
$l =~ s:>:&gt;:g;
@@ -105,6 +106,9 @@ while(<STDIN>) {
$what .= $l;
$br++;
}
+
+ # pull paragraphs together
+ $what =~ s/\n<br>(\w)/ \1/g;
}
print "<tr><td nowrap class=\"cstamp\">$when</td>\n",
"<td class=\"cdesc\">$what</td>\n",