Fckeditor would probably get you closest to the original formatting. But if you don�t want to use that, this should get 90% of your line breaks.
As for line breaks, I usually just use #replace(str, "#chr(13)##chr(10)#", "<br>", "ALL")# You could do the same thing for tabs (just replace them with spaces or whatever) -----Original Message----- From: Doug Strickland [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 5:10 PM To: CF-Talk Subject: text formatting I am building a form that allows a user to 'cut and paste' their resume into a textarea. I then take this data, and insert it into the database. When re-displayed, it looks horrible; there is no formatting at all. I tried using the paragraphFormat() function, but this didn't really help too much. I don't want anything fancy, I just need it to at least recognize line breaks, tabs etc. If anyone knows of a solution for this, or can point me in the right direction, I would greatly appreciate it...thanks! -Doug ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206946 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

