about summary refs log tree commit diff
path: root/src/etc/check-links.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/check-links.pl')
-rwxr-xr-xsrc/etc/check-links.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/etc/check-links.pl b/src/etc/check-links.pl
index a280ed55ba9..6492be53d34 100755
--- a/src/etc/check-links.pl
+++ b/src/etc/check-links.pl
@@ -9,7 +9,7 @@ my $anchors = {};
 my $i = 0;
 foreach $line (@lines) {
     $i++;
-    if ($line =~ m/id="([^"]+)"/) { 
+    if ($line =~ m/id="([^"]+)"/) {
         $anchors->{$1} = $i;
     }
 }
@@ -17,10 +17,9 @@ foreach $line (@lines) {
 $i = 0;
 foreach $line (@lines) {
     $i++;
-    while ($line =~ m/href="#([^"]+)"/g) { 
+    while ($line =~ m/href="#([^"]+)"/g) {
         if (! exists($anchors->{$1})) {
             print "$file:$i: $1 referenced\n";
         }
     }
 }
-