HTMLEditFormat (string [, version ]) DescriptionRemoves 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> |