Re: Auto Wrap Text in <p></p>
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 56985
interpreted = N
texte = Thanks Rob!This works perfectly.On 3/18/04 11:22 AM, "Rob Marquardt"
wrote:> Here's what I had used. Two returns create a paragraph, a single return does> a line break (in my case, the people entering the text used two returns so> paragraphs had a visible space between them while they were editing in the> textarea). Three statements are used, order is important.> > > [text]convertedText=[textFromTheTextarea][/text]> > [text]convertedText=[grep> search=%0D.%0D.(%0D.)*&replace=][convertedText][/grep][/text]> > [text]convertedText=[grep> search=%0D%0D(%0D%0D)*&replace=
][convertedText][/grep][/text]> > [text]convertedText=[grep> search=%0D&replace=
][convertedText][/grep][/text]> > > For display, wrap the result in a paragraph:> >
[convertedText]
-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Thanks Rob!This works perfectly.On 3/18/04 11:22 AM, "Rob Marquardt" wrote:> Here's what I had used. Two returns create a paragraph, a single return does> a line break (in my case, the people entering the text used two returns so> paragraphs had a visible space between them while they were editing in the> textarea). Three statements are used, order is important.> > > [text]convertedText=[textFromTheTextarea][/text]> > [text]convertedText=[grep> search=%0D.%0D.(%0D.)*&replace=][convertedText][/grep][/text]> > [text]convertedText=[grep> search=%0D%0D(%0D%0D)*&replace=
][convertedText][/grep][/text]> > [text]convertedText=[grep> search=%0D&replace=
][convertedText][/grep][/text]> > > For display, wrap the result in a paragraph:> >
[convertedText]
-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Clint Davis
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] Error installing WebDNA on Ubuntu (2016)
Size limit for tmpl editor ? (1997)
expired beta (1997)
[include] error message (was:how to put/keep product customization info in basket?) (1998)
WebCat2b15MacPlugin - [protect] (1997)
[OT] Startup E-Mail (2000)
Serving images from databases (1998)
Databases (2000)
Sub Categories (2000)
Sandboxes (2004)
Search results templates (1996)
PSC recommends what date format yr 2000??? (1997)
Assigning new CART number (1997)
[WebDNA] ONLY the FIRST continuous run of numeric chars? (2008)
funky values using [fileinfo] (2001)
Roundup function? (1997)
WebCat2 beta 11 - new prefs ... (1997)
Re:PCS Customer submissions ? (1997)
problems with 2 tags shakur (1997)
New index for docs (1997)