diff options
author | bjoern <bjoern@localhost> | 2004-09-12 07:48:05 +0000 |
---|---|---|
committer | bjoern <bjoern@localhost> | 2004-09-12 07:48:05 +0000 |
commit | 2a9645e66f0f2472a046143c5f519e1f94105c40 (patch) | |
tree | f38f7dd7f23dd01b9dad65636e4c53a9ddc52842 | |
parent | 3c4e903dbea903827f0230a9e514b2a27e775097 (diff) | |
download | markup-validator-2a9645e66f0f2472a046143c5f519e1f94105c40.zip markup-validator-2a9645e66f0f2472a046143c5f519e1f94105c40.tar.gz markup-validator-2a9645e66f0f2472a046143c5f519e1f94105c40.tar.bz2 |
missing piece from http://www.w3.org/Bugs/Public/attachment.cgi?id=367
-rwxr-xr-x | httpd/cgi-bin/check | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 402843f..1231938 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -9,7 +9,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.340 2004-09-10 09:25:55 bjoern Exp $ +# $Id: check,v 1.341 2004-09-12 07:48:05 bjoern Exp $ # # Disable buffering on STDOUT! @@ -225,7 +225,7 @@ Directory not readable (permission denied): @_r # # Strings - $VERSION = q$Revision: 1.340 $; + $VERSION = q$Revision: 1.341 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; # @@ -1768,7 +1768,7 @@ sub outline { } 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 @@ sub outline { $heading =~ s/\s+/ /g; $heading =~ s/^[- ]//; $heading = &ent($heading); - $outline .= " <li>$heading\n"; + $outline .= " <li>$heading"; } $outline .= " </li></ul>\n" x $level; return $outline; |