From dd2780f9fb0f228ebf6b9e7be574f9cc9721438d Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sat, 6 Apr 2024 23:25:02 -0400
Subject: [PATCH] wikiheaders: Remove trailing whitespace from "brief"
description.
---
build-scripts/wikiheaders.pl | 1 +
1 file changed, 1 insertion(+)
diff --git a/build-scripts/wikiheaders.pl b/build-scripts/wikiheaders.pl
index 1c6a532824f0a..a7ae074a652c0 100755
--- a/build-scripts/wikiheaders.pl
+++ b/build-scripts/wikiheaders.pl
@@ -1189,6 +1189,7 @@ sub print_undocumented_section {
$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;