W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2002

Re: Discarding Tags

From: Charles Reitzel <creitzel@rcn.com>
Date: Mon, 16 Dec 2002 14:19:58 -0500
Message-Id: <4.3.2.7.2.20021216141306.02cae4b0@pop.rcn.com>
To: "David Wier" <dwier@augustwind.com>
Cc: <html-tidy@w3.org>

Your understanding is correct.  You must declare all elements.

By all means, log an enhancement request to add an option to leave them 
intact.  You can follow the link at the top-right of the project page: 
http://tidy.sf.net.

I don't think it is a bad idea, per se.  But Tidy needs to know how to 
handle unrecognized elements: block, inline, empty or pre.  Perhaps one of 
these could be the value of the --default-model 
block|inline|empty|pre|omit, where "omit" says to drop unknown elements as 
per the current behavior.

But this is a fairly basic change.  I'd like to hear some discussion to get 
a better feel for its impact and value.

take it easy,
Charlie

At 12:57 PM 12/16/2002 -0600, David Wier wrote:
>I've looked through the config settings and the -help option, but I really 
>haven't found what I need...
>
>Since I'm using ASP.Net - is there any way to set Tidy so that it will NOT 
>discard tags it doesn't recognize, but it will still Tidy what it does 
>recognize?
>
>As it is now, if it's not in the config file, it totally deletes it from 
>the page.
>
>David Wier
Received on Monday, 16 December 2002 14:15:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC