EncodeForHTML not working
Hello. I'm developing on a CF 2018 Developer version and I'm implementing EncodeForHTML. However, when I tried to test it I found it to do nothing. For example, the following test code from the help files gives me back exactly what you don't want:
<cfscript>
s1="<script>";
s2="&<>'/" & '"';
WriteOutput(EncodeForHTML(s1) & " | ");
WriteOutput(EncodeForHTML(s2));
</cfscript>
When I run this it gives me;
<script> | &<>'/"
When it should give me
<script> | &<>'/"
Is anyone else running into this? It's like the function is turned off. Is that possible? What am I missing?
I also tried it in cffiddle and it behaves the same way.
