wikiheaders.pl: Whitespace fixes.

This commit is contained in:
Ryan C. Gordon 2021-03-24 12:52:48 -04:00
parent c486959e71
commit 5753fd73c3
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 6 additions and 0 deletions

View File

@ -427,6 +427,12 @@ while (readdir(DH)) {
} }
close(FH); close(FH);
foreach (keys %sections) {
$sections{$_} =~ s/\A\n+//;
$sections{$_} =~ s/\n+\Z//;
$sections{$_} .= "\n";
}
if (0) { if (0) {
foreach (@section_order) { foreach (@section_order) {
print("$fn SECTION '$_':\n"); print("$fn SECTION '$_':\n");