W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

Re: Bugs/suggestions

From: J. David Bryan <jdbryan@acm.org>
Date: Fri, 24 Mar 2000 11:45:45 -0600
To: HTML Tidy List <html-tidy@w3.org>
Message-ID: <OFF9AF44A1.5FD91DE6-ON86256886.001B9587@rfdinc.com>

On 14 Feb 00, at 12:56, Matthew Brealey wrote:

> [...]
> I do wish Tidy wouldn't think that its users are idiots and don't know
> that inline elements can't span block ones and that pre can't enclose
> other block elements, and would simply just add the missing </b>...

To me, this feature is extremely valuable, as FrontPage 98 in particular
loves to span block elements with inline ones.  Tidy does a perfect job in
cleaning up this auto-generated mess.

Perhaps what is desired is alternate behavior, depending on whether the
HTML source file is generated by hand or by machine.  As a proposal,
perhaps keying on the presence of a <meta name="GENERATOR" ...> tag
(although *not* Tidy's own tag :-) would engender one of two behaviors: the
current insertion of extra inline tags if the GENERATOR tag is present
(implying a machine-generated source), and simple termination of the inline
element if the GENERATOR tag is absent.

                                      -- Dave Bryan
Received on Friday, 24 March 2000 12:46:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:47 UTC