W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2009

validator/httpd/cgi-bin check,1.703,1.704

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 23 Sep 2009 21:27:34 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MqZN8-0000bN-Kg@lionel-hutz.w3.org>
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv2299

Modified Files:
	check 
Log Message:
Avoid adding an ellipsis when a line (for a message without a column number) was not truncated.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.703
retrieving revision 1.704
diff -u -d -r1.703 -r1.704
--- check	23 Sep 2009 21:13:04 -0000	1.703
+++ check	23 Sep 2009 21:27:32 -0000	1.704
@@ -2087,7 +2087,7 @@
             $col = length($File->{Content}->[$err->{line}-1]);
             $col = 80 if ($col > 80);
             ($line, $col) = &truncate_line($File->{Content}->[$err->{line}-1], $col);
-            $line = &ent($line) . "…";
+            $line = &ent($line);
             $col = 0;
           }
       }
Received on Wednesday, 23 September 2009 21:27:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT