difference between comments with 2 dashes vs 3 in Coldfusion

What is the difference between comments using 3 instead of 2 dashes?

Example <!--comment here--> vs <!---comment here---> Also do people find it more readable if there's a space between the dashes and the text e.g. <!-- comment here -->

Answers


Two dashes signify an html comment. Content within html comments are included in the output of CF pages ie viewable in the html source.

Three dashes signify a ColdFusion comment. Anything enclosed within the comments is ignored by the ColdFusion compiler, and is not included in the html output.


Need Your Help

How to detect Rails environment inside whenever

ruby-on-rails ruby-on-rails-3 cron rake whenever

This question will probably only make sense if you know about the whenever gem for creating cron jobs.

How to use #include directive correctly?

c++ c

Is there any material about how to use #include correctly?