Re: TiDy

Jany Quintard <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.