Re: TiDy

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 UTC