W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2002

RE: [Tidy-dev] Request: a 'strip-presentation' option

From: Jelks Cabaniss <jelks@jelks.nu>
Date: Sat, 20 Jul 2002 21:33:33 -0400
To: <html-tidy@w3.org>, <Tidy-develop@lists.sourceforge.net>
Message-ID: <001101c23056$a0c08f10$6601a8c0@blackie>

Charles Reitzel wrote:

> > Ideally this option should also remove the extraneous
> > <p>&nbsp;</p>

> Dave's relatively recent -bare option might do that.

No, -bare turns it either into something like this

	<p class="c3"> </p>

or this

	<p> </p>

which means there are no &nbsp;'s, but it doesn't actually remove
content-void "paragraphs" that were only put there for visual effects in
various browsers.

I'm also looking at things like 

    <p class="c3"><br />

(and other variations thereof).   IMO, a 'strip-presentation' option
should also remove all such content-void paragraphs, headings, and

Received on Saturday, 20 July 2002 21:34:05 UTC

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