Skip to content

Commit fbc0141

Browse files
committed
spec2changelog: Preserve full author names if they exist
1 parent 48de57b commit fbc0141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec2changelog

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ foreach my $time (sort { $b <=> $a } (keys(%items))) {
7777
$head =~ s/^\s+//;
7878
$head =~ s/^\-\s+//;
7979
if ($head =~ m/^(.+?)\s*<(.+?\@.+?\..+?)>(\s*.*)$/) {
80-
$head = $2;
80+
$head = "$1 <$2>";
8181
} elsif ($head =~ m/^<(.+?\@.+?\..+?)>(\s*.*)$/) {
8282
$head = $1;
8383
}

0 commit comments

Comments
 (0)