Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Description Contents Formatting Changes

Quote Reply
Description Contents Formatting Changes
Greetings!

I have been using a simple global (Description_Formatted) for some time, where carriage returns in the Description (and some other Textarea Fields) are converted to <br />.

I am now considering installing TinyMCE to overcome some of the manual editing I have to do of illegal ascii characters etc.

I am trying to work out how I can change all current descriptions so that <br /> are deleted and they are turned into <p>. Example:

first piece of text <br /> next piece of text <br />

which I would like to change to:-

<p>first piece of text</p><p>next piece of text</p>

Anyone got any ideas how I can do this? I don't expect it will be that easy.

Thanks,


Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
Subject Author Views Date
Post Description Contents Formatting Changes Clint 1289 Feb 26, 2007, 2:09 PM