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

link-checker commit: More markup improvements.

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 05 Aug 2010 14:46:59 +0000
To: link-checker updates <www-validator-cvs@w3.org>
Message-Id: <E1Oh1il-0005dY-BG@blinky.w3.org>
changeset:   80:d3255e8e69bc
user:        ville
date:        Tue Jun 01 22:30:51 2004 +0000
files:       bin/checklink
description:
More markup improvements.


diff -r 7c44e961b2d7 -r d3255e8e69bc bin/checklink
--- a/bin/checklink	Tue Jun 01 22:26:49 2004 +0000
+++ b/bin/checklink	Tue Jun 01 22:30:51 2004 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2004 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 3.50 2004-06-01 22:26:49 ville Exp $
+# $Id: checklink,v 3.51 2004-06-01 22:30:51 ville Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -112,7 +112,7 @@
   $PACKAGE       = 'W3C Link Checker';
   $PROGRAM       = 'W3C-checklink';
   $VERSION       = '3.9.3-dev';
-  my ($cvsver)   = q$Revision: 3.50 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver)   = q$Revision: 3.51 $ =~ /(\d+[\d\.]*\.\d+)/;
   $REVISION      = sprintf('version %s [%s] (c) 1999-2004 W3C',
                            $VERSION, $cvsver);
   $AGENT         = sprintf('%s/%s [%s] %s',
@@ -849,9 +849,13 @@
       if ($response->code() == 401) {
         &authentication($response);
       } else {
-        &html_header($uri) if $Opts{HTML};
+        if ($Opts{HTML}) {
+          &html_header($uri);
+          print "<p>";
+        }
         &hprintf("\nError: %d %s\n",
                  $response->code(), $response->message() || '(no message)');
+        print "</p>\n" if $Opts{HTML};
       }
     }
     $response->{Stop} = 1;
Received on Thursday, 5 August 2010 14:47:14 UTC

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