--- tamtam/tamtam2socialtext.pl 2007/12/12 13:22:32 9 +++ tamtam/tamtam2socialtext.pl 2007/12/12 13:28:40 10 @@ -93,6 +93,8 @@ # fix links $body =~ s/\["([^"]+)"\]/[$1]/gs; + $body =~ s,\[(http://\S+)\s+([^\]]+)\],"$2"<$1>,gs; + $body =~ s,\[(http://[^\]]+)\],$1,gs; Encode::_utf8_off( $body );