Browse Source

wikiheaders.pl: Don't wordwrap truly massive words.

Usually, these are going to be URLs that you don't want to split
across lines.
Ryan C. Gordon 3 years ago
parent
commit
96a04cb910
1 changed files with 2 additions and 0 deletions
  1. 2 0
      build-scripts/wikiheaders.pl

+ 2 - 0
build-scripts/wikiheaders.pl

@@ -4,6 +4,8 @@ use warnings;
 use strict;
 use strict;
 use Text::Wrap;
 use Text::Wrap;
 
 
+$Text::Wrap::huge = 'overflow';
+
 my $srcpath = undef;
 my $srcpath = undef;
 my $wikipath = undef;
 my $wikipath = undef;
 my $warn_about_missing = 0;
 my $warn_about_missing = 0;