in reply to Re: Simple Question for you guys.
in thread converting carriage returns to <br> tags (was: Simple Question for you guys)
I prefer something like this: $textarea =~ s,\r\n?|\n\r?,<br />\n,g; I like to keep a newline after the BR tag, to make the HTML easier to read.
|
|---|