- From: Dave Raggett <dsr@w3.org>
- Date: Sat, 20 Nov 1999 15:31:14 +0000 (GMT Standard Time)
- To: Yudong Yang <yangyudong@hotmail.com>
- cc: html-tidy@w3.org
On Thu, 18 Nov 1999, Yudong Yang wrote: > I'm using tidy as a HTML parser for my program. There are some > cases that tidy will make mistakes on comment contains a lot of > '-'(although this is not good according to HTML4.0 ). You could > find the case in http://cn.yahoo.com/ I've made a fix for this > problem. Tidy wasn't recovering effectively after detecting malformed comments. SGML/XML says: good <!----> bad <!-----> bad <!------> bad <!-------> good <!--------> weird isn't it! I will adjust the parser to trim trailing hyphens to the nearest legal number. Regards, -- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett tel/fax: +44 122 578 3011 (or 2521) +44 385 320 444 (mobile) World Wide Web Consortium (on assignment from HP Labs)
Received on Saturday, 20 November 1999 10:31:19 UTC