HTMLEditFormat() in ColdFusion 9

I just installed ColdFusion 9 and noticed that HTMLEditFormat() does not work like it used to. When I entered the string "<test>” into the HTMLEditFormat() function, it returned the same string without any changes.

I’m not sure if it’s just my installation, or if it has something to do with this new ColdFusion version. Whatever the reason, I changed my code to this:

   1: <cfset string = "&lt;test&gt;">
   2: <cfset string= replacenocase(string,'&','&amp;','all')>
   3: <cfset string= replacenocase(string,'<','&lt;','all')>
   4: <cfset string= replacenocase(string,'>','&gt;','all')>
Show/Hide Line Numbers . Full Screen . Plain