> Now when we are looping through the attributes scope and
> writing these
> values into the client scope we do cient.whatever =
> htmlEditFormat(attributes[i]); (it's in a function).
> However when I display
> these values in the textarea on the form page the " say
> quot; whatever, even
> though I am not using htmlEditFormat on the form field.

> Does that make more sense?

Actually that's just confirming what I was saying... you shouldn't be
using client.whatever = htmlEditFormat(attributes[i]), just
client.whatever = attributes[i] -- don't htmleditformat unless the
value is going _directly_ to the output buffer in the same statement.
You really never want to store an htmleditformatted value anywhere,
because the htmledit-formatting isn't part of the data -- it's an
escape sequence for the data -- the data itself should always be
stored un-escaped, because each medium (html/xml,url,sql,rich-text)
will have a different set of rules for escaping special characters.


s. isaac dealey     954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:166859
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to