mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-21 09:11:49 +00:00
wikiheaders: Remove trailing whitespace from "brief" description.
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user