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

Re: Bugs/suggestions

From: J. David Bryan <jdbryan@acm.org>
Date: Tue, 15 Feb 2000 00:00:32 -0500
Message-Id: <200002150500.AAA04479@mail.bcpl.net>
To: HTML Tidy List <html-tidy@w3.org>
On 14 Feb 00, at 12:56, Matthew Brealey wrote:

> FOUR:
> [...]
> 
> 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 Tuesday, 15 February 2000 00:00:40 GMT

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