W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2006

Re: TiDy

From: Jany Quintard <jany.quintard@free.fr>
Date: Mon, 12 Jun 2006 14:22:38 +0200
Message-ID: <448D5C8E.5060209@free.fr>
To: html-tidy@w3.org

Timo Hummel a écrit :
> Hi Ram,
> 
>> i.e 1. if there is start tag and no end tag, Tidy should add end tag.
>>     2. if there is end tag and no start tag, Tidy should add start tag.
> 
> How should tidy do that 
> Imagine the following HTML:
> <h1>This is a test</b></h1>
> Should tidy add the missing <b> before "This"? Or in front of "test"? Or inbetween "is" and "a"? Nobody knows, so Tidy can't know either.
Excatly, and it is much better to have a program which tells you that 
something is wrong, than one which tries to fix the problem, even if it 
is very good at it, because the correction will maybe hide another flaw.
Jany
Received on Monday, 12 June 2006 12:22:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:56 GMT