Re: Tidy becomes less forgiving

On Thu, 13 Sep 2001, Patrick Lok wrote:
>
> > >I've attached 2 of the files that have been rejected by the new tidy but
> > >cleaned up by the old tidy.
> >
> > There aren't any files attached to you mail, at least I didn't get them.
> >
> > Well, there are cases where Tidy can not correctly guess what the author
> > really intended.
>
> Right, I understand that, but at least the new tidy should take everything
> that the old tidy takes. Or maybe mostly everything.
>
> In responce to Jany, the purpose of tidy is to take a html file that's not
> well-formed and clean it up and make it well formed. If the tighter it
> is, the better, then why not just make a program that checks the html
> code and return a message saying that the file is well-formed or not?
>
> I agree that there's a lot of Html docs out there on the web are syntaxically
> garbage. And that's the whole purpose of tidy, I believe, which is take
> those syntaxically garbage html files that are only understood by the
> browsers, maybe even not, and make it stick to the real html rules.
Sure Patrick, this is the purpose of tidy. I am probably biased by the
fact that I do not write, HTML but generate it. So, I am very interested
in having a tool (tidy) able to correct the errors, but I do not want it to
guess what I wanted to do if the code is too messy. In this case, I need a
warning to correct my stylesheets.
Actually, I think we agree.

Cheers. Jany

Received on Thursday, 13 September 2001 16:26:13 UTC