in reply to HTML String Parsing
It's not the most elegant solution and I'm sure somebody else will whip up something really cool. It should do the trick though.$comment =~ s/\n/<br>/g; $comment =~ s/<br><br>/<br>/g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: HTML String Parsing
by thraxil (Prior) on Dec 10, 2001 at 01:41 UTC | |
by Ionizor (Pilgrim) on Dec 10, 2001 at 02:10 UTC | |
|
Re: HTML String Parsing
by Ionizor (Pilgrim) on Dec 10, 2001 at 00:44 UTC |