validator/httpd/cgi-bin check,1.340,1.341

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv27921

Modified Files:
	check 
Log Message:
missing piece from http://www.w3.org/Bugs/Public/attachment.cgi?id=367

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.340
retrieving revision 1.341
diff -u -d -r1.340 -r1.341
--- check	10 Sep 2004 09:25:55 -0000	1.340
+++ check	12 Sep 2004 07:48:05 -0000	1.341
@@ -1768,7 +1768,7 @@
       } elsif ($level > $prevlevel) {
         if ($level - $prevlevel > 1) {
           foreach my $i (($prevlevel + 1) .. ($level - 1)) {
-            $outline .= "\n", "  " x ($i + 2) . "<ul>\n" . "  " x ($i + 2);
+            $outline .= "\n". "  " x ($i + 2) . "<ul>\n" . "  " x ($i + 2);
             $outline .= qq(<li class="warning">A level $i heading is missing!);
           }
           $outline .= "\n" . "  " x $TAB . "<ul>\n";
@@ -1799,7 +1799,7 @@
     $heading =~ s/\s+/ /g;
     $heading =~ s/^[- ]//;
     $heading = &ent($heading);
-    $outline .= "    <li>$heading\n";
+    $outline .= "    <li>$heading";
   }
   $outline .= "    </li></ul>\n" x $level;
   return $outline;

Received on Sunday, 12 September 2004 07:48:08 UTC