in reply to Re: Re: User Code
in thread User Code
I also cleaned it up to allow people to put "http://" at the beginning of the URL (i.e. if they copy and paste a link):$text =~ s#\[([^\|]+)\|([^\]]+)\]#<a href="http://$1">$2</a>#g;
$Details =~ s#\[(http://)?([^\|]+)\|([^\]]+)\]#<a href="http://$2">$3 +</a>#g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: User Code
by arturo (Vicar) on Dec 10, 2000 at 01:00 UTC | |
by $code or die (Deacon) on Dec 11, 2000 at 07:19 UTC | |
by chipmunk (Parson) on Dec 11, 2000 at 08:51 UTC | |
by $code or die (Deacon) on Dec 11, 2000 at 19:19 UTC | |
by duct_tape (Hermit) on Dec 11, 2000 at 19:40 UTC | |
|