Browse Source

wikiheaders: Remove trailing whitespace from "brief" description.

Ryan C. Gordon 1 year ago
parent
commit
dd2780f9fb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      build-scripts/wikiheaders.pl

+ 1 - 0
build-scripts/wikiheaders.pl

@@ -1189,6 +1189,7 @@ if ($copy_direction == 1) {  # --copy-to-headers
             $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.
         my @briefsplit = split /\n/, $brief;