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

Suggestion about comment fields

From: William K. Volkman <cio@vanion.com>
Date: Tue, 29 Aug 2000 13:02:07 -0400 (EDT)
To: <html-tidy@w3.org>
Message-ID: <NCBBKLAPINAKKDAFGLBLEELFMEAA.cio@vanion.com>
Dave,
	I'm using tidy to clean up some web forms.  We use the Fast
Template classes for PHP (there is also one for perl) which use
some specially formated comment fields to know where to substitute
fields.  Would there be a way that you could have tidy force (leave)
comments which start in column 1 alone.  For example:
<!-- BEGIN DYNAMIC BLOCK: row -->
	<tr><td>{SOMEFIELD}</td><td>{SOMEOTHERFIELD}</td></tr>
<!-- END DYNAMIC BLOCK: row -->

Need to be left alone, another example is emacs's html helper mode
time stamps:
<!-- hhmts start -->
Last modified: Tue Aug 29 10:51:01 MDT 2000
<!-- hhmts end -->

Tidy will change this to:
  <!-- hhmts start -->
  Last modified: Tue Aug 29 10:51:01 MDT 2000<!-- hhmts end -->

Thanks,
William K. Volkman
CIO - Vanion Inc.
665 Southpointe Ct Ste 150
Colorado Springs, CO 80906
719-955-9962 cio@vanion.com
Received on Tuesday, 29 August 2000 13:09:04 GMT

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