you don't need <br>'s in the <textarea> output. use your replace() function when you are displaying the data back to the user.
On Tue, 9 Nov 2004 12:46:06 -0500, Douglas Knudsen <[EMAIL PROTECTED]> wrote: > use HTMLEditFormat() for displaying the data in the text area only, > not for inserting into the DB. Use cfqueryparam for DB insert/updates > to automagically escape stuffs. > > Doug > > > > > On Tue, 9 Nov 2004 12:39:36 -0500, Rick Faircloth > <[EMAIL PROTECTED]> wrote: > > Thanks for all the input everyone... > > > > HTMLEditFormat() is helping....but... > > > > Before adding that code, my statement was > > #Replace(Application.Article.Body, "#Chr(13)#", "<br>", "All")# > > to create paragraphs... > > > > Now with HTMLEditFormat() added, I've got: > > > > #HTMLEditFormat(Replace(Application.Article.Body, "#Chr(13)#", "<br>", > > "All"))# > > > > This code solves the quote issue, and leaves my paragraphs intact, > > but not I've got <br> showing up in the text. > > > > Does using HTMLEditFormat() make Replace() unnecessary? > > > > Or how should the code be changed? > > > > Thanks, > > > > Rick > > > > > > > > > > > -----Original Message----- > > > From: Pascal Peters [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, November 09, 2004 11:56 AM > > > To: CF-Talk > > > Subject: RE: Problem with Quotation Marks in Textarea Formfield > > > > > > > > > HTMLEditFormat() > > > > > > Pascal > > > > > > > -----Original Message----- > > > > From: Rick Faircloth [mailto:[EMAIL PROTECTED] > > > > Sent: 09 November 2004 17:30 > > > > To: CF-Talk > > > > Subject: Problem with Quotation Marks in Textarea Formfield > > > > > > > > When a user puts in Quotation Marks in a Textarea formfield > > > > the text gets cut off starting with the first quote... > > > > > > > > How can I avoid this? > > > > > > > > (I search the HOF archives but didn't find anything helpful...) > > > > > > > > Thanks, > > > > > > > > Rick > > > > > > > > -- > > > > Outgoing mail is certified Virus Free. > > > > Checked by AVG Anti-Virus (http://www.grisoft.com). > > > > Version: 7.0.280 / Virus Database: 265.1.0 - Release Date: > > > 11/9/2004 > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > ~~~~~~~~| > > > Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net > > > http://www.cfhosting.net > > > > > > Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183757 > > > Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 > > > Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 > > > Unsubscribe: > > http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=708.628.4 > > Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 > > > > -- > > Incoming mail is certified Virus Free. > > Checked by AVG Anti-Virus (http://www.grisoft.com). > > Version: 7.0.280 / Virus Database: 265.1.0 - Release Date: 11/9/2004 > > > > -- > > Outgoing mail is certified Virus Free. > > Checked by AVG Anti-Virus (http://www.grisoft.com). > > Version: 7.0.280 / Virus Database: 265.1.0 - Release Date: 11/9/2004 > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183771 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

