summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbjoern <bjoern@localhost>2004-09-08 16:10:56 +0000
committerbjoern <bjoern@localhost>2004-09-08 16:10:56 +0000
commit153ad870863de25b686e51ffe64c460451cecdaf (patch)
treef3234a4c07b2f95778c3d162bfbd8a09b78ea651
parente1ac4d33a16be68f6eb6faaaf05ecb2208cab930 (diff)
downloadmarkup-validator-153ad870863de25b686e51ffe64c460451cecdaf.zip
markup-validator-153ad870863de25b686e51ffe64c460451cecdaf.tar.gz
markup-validator-153ad870863de25b686e51ffe64c460451cecdaf.tar.bz2
fix for http://www.w3.org/Bugs/Public/show_bug.cgi?id=772
-rwxr-xr-xhttpd/cgi-bin/check9
1 files changed, 4 insertions, 5 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 228f57b..4cf6dca 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.337 2004-09-05 10:27:13 link Exp $
+# $Id: check,v 1.338 2004-09-08 16:10:56 bjoern Exp $
#
# Disable buffering on STDOUT!
@@ -225,7 +225,7 @@ Directory not readable (permission denied): @_r
#
# Strings
- $VERSION = q$Revision: 1.337 $;
+ $VERSION = q$Revision: 1.338 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
#
@@ -1784,10 +1784,9 @@ sub outline {
$heading =~ s/\s+/ /g;
$heading =~ s/^[- ]//;
$heading = &ent($heading);
- $outline .= " <li>$heading</li>\n";
+ $outline .= " <li>$heading\n";
}
- $outline .= " </ul>\n" x $level;
-
+ $outline .= " </li></ul>\n" x $level;
return $outline;
}