iirc, the 3-dash cf comment does not trip html validation. the 3rd dash is considered the first character of comment text. i do not ever remember having trouble with cf comments in W3C validator.
Azadi On 15/11/2010 07:54 , Terry Troxel wrote: > Russ thanks for answering. > I guess I wasn't specific enough. > Is there a keyboard shortcut command to do the html comment in Homesite? > I use Coldfusion in my Site Admin for my clients to design their pages and > then > When they update it writes all the pages to plain html for SEO as well as > speed. > If there is a command it would save me a bunch of time programming instead > of > Deleting the extra dashes by hand. > > Terry > > -----Original Message----- > From: Russ Michaels [mailto:r...@michaels.me.uk] > Sent: Sunday, November 14, 2010 2:36 PM > To: cf-talk > Subject: RE: Homesite Comment Command > > > Terry, > > <!--- This is a ColdFusion Comment ---> > <!-- This is a HTML comment --> > > If you put an HTML comment around CFML it will do nothing and the code will > still execute. > CFML comments do not appear in the source code so any HTML validation will > not see it, if you are running the validation on the CFML source then just > ignore the comments. > > Russ > > -----Original Message----- > From: Terry Troxel [mailto:terry.tro...@gmail.com] > Sent: 14 November 2010 22:21 > To: cf-talk > Subject: Homesite Comment Command > > > I don't know if this is OT or not. > I Homesite 5+ in CFML Basic the<!--- comment command gives you this:<!--- > ---> > Where can I change that to output:<!-- --> as W3C doesn't validate with > the 3 dashes? > > Terry > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339219 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm