Ok, but if we don't do that than we loose everything after the fir double quote "
Tim > -----Original Message----- > From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 27, 2005 6:25 PM > To: CF-Community > Subject: RE: Annoying Client/Quotes issue > > > > 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 > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:166860 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=89.70.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
