Gossamer Forum
Home : Products : DBMan : Discussions :

Re: Formatting question

Quote Reply
Re: Formatting question In reply to
In the textarea tag use wrap="virtual" and then use regex:

s/\n/< br >/g;

...which replaces a newline with a br tag for displaying on a html page. You'd need to remove the spaces in the br tag - they are there to stop the forum taking it literally.

Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Subject Author Views Date
Thread Formatting question eric74 4419 Jul 11, 2001, 4:50 AM
Thread Re: Formatting question
Paul 4345 Jul 11, 2001, 6:11 AM
Thread Re: Formatting question
eric74 4337 Jul 11, 2001, 7:55 AM
Thread Re: Formatting question
Paul 4345 Jul 11, 2001, 8:15 AM
Thread Re: Formatting question
AstroBoy 4355 Jul 11, 2001, 8:13 PM
Thread Re: Formatting question
eric74 4301 Jul 30, 2001, 2:40 PM
Thread Re: Formatting question
Paul 4279 Jul 30, 2001, 6:32 PM
Thread Re: Formatting question
lanerj 4264 Jul 31, 2001, 4:46 AM
Thread Re: Formatting question
Paul 4268 Jul 31, 2001, 5:05 AM
Post Re: Formatting question
lanerj 4254 Jul 31, 2001, 5:46 AM
Post Re: Formatting question
eric74 4248 Jul 31, 2001, 2:40 PM
Post Re: Formatting question
eric74 4257 Jul 31, 2001, 2:44 PM