W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

RE: Working with Tidy and HTML comments

From: Stephen Reynolds <spr@ozemail.com.au>
Date: Wed May 17 01:19:58 2000
Message-Id: <200005170519.PAA00914@oznet15.ozemail.com.au>
To: html-tidy@w3.org
--- Pete Gelbman <pete@arraycomm.com> wrote:

>I use Tidy's "new-blocklevel-tags" option via
>Tidy's config file to ignore several custom tags
>that I use. But I don't know if this works with
>custom comment tags. I guess it depends on the
>exact sytax format of your Dreamweaver
>comments...what do they look like?

Here's a typical page:

http://www.on.net/clients/pacs/pub/admin.htm

What we need to do is preserve the structure of
comments like:

<!-- END GRAPHIC -->

<!-- SECOND TABLE STARTS HERE -->

Tidy concatinates the two comments like this.

<!-- END GRAPHIC --><!-- SECOND TABLE STARTS HERE
-->

As far as I'm aware, extensive use of comments is
common practice on sites managed by more than one
person, so I would imagine there must be some sort
of work-around.

Tidy is too useful to be restricted to hobbyists
building personal web sits without comments, and
besides, my code is not nearly as clean as most
hobbyists anyway:-)

Steve
This message was sent through MyMail http://www.mymail.com.au
Received on Wednesday, 17 May 2000 01:19:58 GMT

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