W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2010

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

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 05 Aug 2010 14:47:15 +0000
To: link-checker updates <www-validator-cvs@w3.org>
Message-Id: <E1Oh1j1-00064n-8u@blinky.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:43 UTC