Developers will write it.

Its in a "protected" CMS.

Just forms and cfoutput tags are really going to be the only code in the CMS.

We just want to have a completely dynamic site.

I found this snippet:

<cffunction name="CleanUpCode" access="public" returntype="string" output=true>
    <cfargument name="string" type="string" required="true"/>
         <cfset string = #Replace(string, "&rsquo;", "'", "all")#>
         <cfset string = #Replace(string, "&lt;", "<", "all")#>
         <cfset string = #Replace(string, "&gt;", ">", "all")#>         
      <cfreturn string>
</cffunction>

at the following url 

http://cksource.com/forums/viewtopic.php?f=6&t=13848&start=0

but my brain is too fried to put it all together. Actually I don't think it 
will work for me because I have different translations of the text.




>On 21/10/2010 11:26, Torrent Girl wrote:
>>
>> Please tell me this can be done :0
>
>
>yes, indirectly. The editor will by default change any < or > to their 
>equivalents &lt: and  &gt;
>
>One has to ask who is going to write this code? It is the world's second 
>biggest security issue letting code be created this way...
>
>
>
>-- 
>
>Yours,
>
>Kym Kovan
>mbcomms.net.au 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338410
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to