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

link-checker commit: Remove whitespace before doctype.

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 05 Aug 2010 14:47:18 +0000
To: link-checker updates <www-validator-cvs@w3.org>
Message-Id: <E1Oh1j4-0006Ag-KI@blinky.w3.org>
changeset:   277:0e91a30d4c11
user:        ville
date:        Tue Feb 10 18:26:15 2009 +0000
files:       bin/checklink
description:
Remove whitespace before doctype.


diff -r 35e79c0fad01 -r 0e91a30d4c11 bin/checklink
--- a/bin/checklink	Tue Feb 10 18:10:29 2009 +0000
+++ b/bin/checklink	Tue Feb 10 18:26:15 2009 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2009 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 4.138 2009-01-30 21:20:11 ville Exp $
+# $Id: checklink,v 4.139 2009-02-10 18:26:15 ville Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -267,7 +267,7 @@
   $PROGRAM     = 'W3C-checklink';
   $VERSION     = '4.4';
   $REVISION    = sprintf('version %s (c) 1999-2009 W3C', $VERSION);
-  my ($cvsver) = q$Revision: 4.138 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver) = q$Revision: 4.139 $ =~ /(\d+[\d\.]*\.\d+)/;
   $AGENT       = sprintf('%s/%s [%s] %s',
                          $PROGRAM, $VERSION, $cvsver,
                          (W3C::UserAgent::USE_ROBOT_UA
@@ -330,7 +330,7 @@
   ($Cfg{Markup_Validator_URI}) = ($Cfg{Markup_Validator_URI} =~ /^(.*)$/);
   ($Cfg{CSS_Validator_URI})    = ($Cfg{CSS_Validator_URI}    =~ /^(.*)$/);
 
-  $DocType = '  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
+  $DocType = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
   $Head = sprintf(<<'EOF', HTML::Entities::encode($AGENT), $Cfg{Style_URI});
 <meta http-equiv="Content-Script-Type" content="text/javascript" />
 <meta name="generator" content="%s" />
Received on Thursday, 5 August 2010 14:47:37 UTC

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