HTMLEditFormat

"-->
 HTMLEditFormat (string [,  version ]) 

Description

Removes all carriage returns and replaces special characters in a string with their HTML-escaped equivalents. To apply the latest version of HTML, use 1 in the version attribute or use 2.0 or 3.2 for their HTML version equivalents.

Example

 <cfset exampleString = "<h1>Test string</h1>">  <cfoutput>  # HTMLEditFormat(exampleString)#  </cfoutput>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net