wikiheaders: Remove trailing whitespace from "brief" description.

main
Ryan C. Gordon 2024-04-06 23:25:02 -04:00
parent a26ec343c3
commit dd2780f9fb
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 1 additions and 0 deletions

View File

@ -1189,6 +1189,7 @@ if ($copy_direction == 1) { # --copy-to-headers
$brief .= "$l "; $brief .= "$l ";
} }
$brief =~ s/\s+\Z//;
$brief =~ s/\A(.*?\.) /$1\n\n/; # \brief should only be one sentence, delimited by a period+space. Split if necessary. $brief =~ s/\A(.*?\.) /$1\n\n/; # \brief should only be one sentence, delimited by a period+space. Split if necessary.
my @briefsplit = split /\n/, $brief; my @briefsplit = split /\n/, $brief;