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

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

From: Stephen Reynolds <sreyn0lds@yahoo.com>
Date: Mon, 17 Jan 2000 18:57:39 -0500 (EST)
Message-Id: <>
To: html-tidy@w3.org
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, 21 January 2000 09:47:08 UTC

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