Commit 96a04cb9101023479a86dd770bf01e488ec661b1

Ryan C. Gordon 2022-05-25T09:30:29

wikiheaders.pl: Don't wordwrap truly massive words. Usually, these are going to be URLs that you don't want to split across lines.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/build-scripts/wikiheaders.pl b/build-scripts/wikiheaders.pl
index 2be760c..3b02f07 100755
--- a/build-scripts/wikiheaders.pl
+++ b/build-scripts/wikiheaders.pl
@@ -4,6 +4,8 @@ use warnings;
 use strict;
 use Text::Wrap;
 
+$Text::Wrap::huge = 'overflow';
+
 my $srcpath = undef;
 my $wikipath = undef;
 my $warn_about_missing = 0;