Replaces special characters in a string with their HTML-escaped equivalents and inserts <pre> and </pre> tags at the beginning and end of the string.
The only difference between this function and
HTMLEditFormat is that
HTMLEditFormat doesn't surround the text in HTML
htmlCodeFormat(string [, version])
→ returns string
<cfset testString="This is a test & this is another <This text is in angle brackets> Previous line was blank!!!"> <cfoutput>#htmlCodeFormat(testString)#</cfoutput>