Skip to content

Commit

Permalink
spec2changelog: Preserve full author names if they exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Conan-Kudo committed Jul 25, 2018
1 parent 48de57b commit fbc0141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec2changelog
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ foreach my $time (sort { $b <=> $a } (keys(%items))) {
$head =~ s/^\s+//;
$head =~ s/^\-\s+//;
if ($head =~ m/^(.+?)\s*<(.+?\@.+?\..+?)>(\s*.*)$/) {
$head = $2;
$head = "$1 <$2>";
} elsif ($head =~ m/^<(.+?\@.+?\..+?)>(\s*.*)$/) {
$head = $1;
}
Expand Down

0 comments on commit fbc0141

Please sign in to comment.