Replace < with < On Sunday, March 31, 2002, at 04:22 PM, brook wrote:
> Hello, > > I have a text area form element which allows a user to enter html. If > they > enter a textarea tag within their html, and the form is then shown > pre-populated with their data (which contains the <textarea></textarea> > tags), my textarea ends when it encounters THEIR end textarea tag! > > I can't simple use htmlencoded because this would submit incorrectly > formatted html data with the form. Has any one had this problem before? > Should I simply treat the textarea as a special character and replace it > when displayed with the htmlencoded equivalent. Or is there a solution > which would catch all html tag related issues within a textarea display? > > Did that make sense? :) > > Brook > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

