- From: Ian Holsman <ianholsman@iname.com>
- Date: Fri, 3 Nov 2000 20:47:22 -0500 (EST)
- To: html-tidy@w3.org
Received on Friday, 3 November 2000 23:45:55 UTC
the URL in question is http://www.cnetinvestor.com (attached)
the line (48) in question which crashes it is:
<spanstyle="color:#FFCC00">
in localise.c 216 .. where is doesn't check if attr is null
my fix is the following
else if (code == BAD_ATTRIBUTE_VALUE)
{
tidy_out(lexer->errout, "Warning: ");
ReportTag(lexer, node);
if (attr)
tidy_out(lexer->errout, " unknown attribute value \"%s\"",
attr);
else
tidy_out(lexer->errout, " unknown attribute value
\"(null)\"" );
}
which is a kludge .. but does the job (for now)
..Ian
Received on Friday, 3 November 2000 23:45:55 UTC