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

Re: Leaving <!-- comments --> unchanged

From: Stephen Reynolds <sreyn0lds@yahoo.com>
Date: Fri, 24 Mar 2000 11:45:37 -0600
To: html-tidy@w3.org
Message-ID: <OF98757A9E.3C55060E-ON8625686D.0051E679@rfdinc.com>

At 13:12 17/01/00 +0000, Dave Raggett wrote:
> > Is there any way I can get HTML Tidy to leave my <!-- comments
> > --> unchanged?
>One idea would be for Tidy to keep a note that a comment started
>on a new line. It could then preserve this in the output. I will
>look into this.
>-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
>tel/fax: +44 122 578 3011 (or 2521) +44 385 320 444 (mobile)
>World Wide Web Consortium (on assignment from HP Labs)

Thanks for the reply. I've been experimenting with Tidy, trying to find a
work-around to make Tidy treat comments the same as block level tags.

I manage a state government web site where a number of authors (with
varying levels of html skills) should be editing the files. I've designed
templates for people to use that have lots of comments describing the
structure of the documents for instance:

<!-- paste text here -->
<!-- header starts here do not edit -->

When I happened upon HTML Tidy (in the latest version of Homesite) is
seemed to me to be a great way for us to maintain a reasonably consistent
style and layout control across a group of authors.

However before I can use it as a management tool it will be essential for
Tidy to leave the all important comments alone. The Homesite GUI for tidy
really helps for those authors who are not comfortable working with Tidy at
the command line level in a DOS window

Of course I could always remove all my comments, and apply the Dilbert
principle where lack of documentation is a serious job security strategy :

Regards, Steve
Stephen Reynolds - Adelaide - South Australia

Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
Received on Friday, 24 March 2000 13:15:05 UTC

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