link-checker commit: Remove stray as-is "\n" from HTML output.

changeset:   243:d85e5eb67414
user:        ville
date:        Tue Aug 26 18:55:00 2008 +0000
files:       bin/checklink
description:
Remove stray as-is "\n" from HTML output.


diff -r fa9e38ee24f5 -r d85e5eb67414 bin/checklink
--- a/bin/checklink	Tue Aug 26 18:43:55 2008 +0000
+++ b/bin/checklink	Tue Aug 26 18:55:00 2008 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2008 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 4.113 2008-08-26 18:43:55 ville Exp $
+# $Id: checklink,v 4.114 2008-08-26 18:55:00 ville Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -242,7 +242,7 @@
   $PROGRAM     = 'W3C-checklink';
   $VERSION     = '4.3';
   $REVISION    = sprintf('version %s (c) 1999-2008 W3C', $VERSION);
-  my ($cvsver) = q$Revision: 4.113 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver) = q$Revision: 4.114 $ =~ /(\d+[\d\.]*\.\d+)/;
   $AGENT       = sprintf('%s/%s [%s] %s',
                          $PROGRAM, $VERSION, $cvsver, LWP::RobotUA->_agent());
 
@@ -1875,7 +1875,7 @@
       print("Anchors\n\n");
     }
     &hprintf("Found %d anchor%s.\n", $n, ($n == 1) ? '' : 's');
-    print('</p>\n') if $Opts{HTML};
+    print("</p>\n") if $Opts{HTML};
   }
   # List of the duplicates, if any.
   my @errors = keys %{$errors};

Received on Thursday, 5 August 2010 14:47:22 UTC