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: <>
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: 

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,

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 
>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.4.0 : Friday, 17 January 2020 17:06:48 UTC