- From: Ville Skytta <ville@hutz.w3.org>
- Date: Sat, 15 May 2004 07:21:37 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv20700
Modified Files:
Tag: validator-0_6_0-branch
check
Log Message:
Don't exclude the <A> element from parse tree output with 'No Attributes'.
Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.305.2.114
retrieving revision 1.305.2.115
diff -u -d -r1.305.2.114 -r1.305.2.115
--- check 15 May 2004 07:04:49 -0000 1.305.2.114
+++ check 15 May 2004 07:21:34 -0000 1.305.2.115
@@ -2258,11 +2258,8 @@
print "<pre>\n";
foreach my $line (@{$File->{ESIS}}) {
- if ($File->{Opt}->{'No Attributes'}) { # don't show attributes
- next if $line =~ /^A/;
- next if $line =~ /^\(A$/;
- next if $line =~ /^\)A$/;
- }
+
+ next if ($File->{Opt}->{'No Attributes'} && $line =~ /^A/);
$line =~ s/\\n/ /g;
$line =~ s/\\011/ /g;
Received on Saturday, 15 May 2004 03:24:52 UTC