--- tamtam/tamtam2socialtext.pl 2007/12/12 23:01:18 18 +++ tamtam/tamtam2socialtext.pl 2007/12/13 11:38:36 20 @@ -154,6 +154,7 @@ $body =~ s,----(\S+),----\n$1,gs; # attachments + $body =~ s,\[attachment:([^\]]+)(gif|png|jpg|jpeg)\],{image: $1$2},gis; $body =~ s,\[attachment:([^\]]+)\],{file: $1},gs; return $body; @@ -190,7 +191,7 @@ $body .= qq{ ---- -Original http://www.razmjenavjestina.org/$full_name {date: $date} +"original" {date: $date} }; Encode::_utf8_off( $body );