From: Friendika Date: Tue, 23 Aug 2011 08:55:46 +0000 (-0700) Subject: more testing with images X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=92504b5df77bb53bc40b7e105e8c7a759995dd30;p=friendica.git more testing with images --- diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index ceda4b69ce..3baba8a9ed 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -39,7 +39,7 @@ function bb2diaspora($Text,$preserve_nl = false) { $Text = preg_replace("(\[url\=([$URLSearchString]*)\](.*?)\[/url\])", '[$2]($1)', $Text); // $Text = preg_replace("/\[img\](.*?)\[\/img\]/", t('Image/photo: ') . '$1', $Text); - $Text = preg_replace("/\[img\](.*?)\[\/img\]/", '', $Text); + $Text = preg_replace("/\[img\](.*?)\[\/img\]/", t('image/photo'), $Text); // Perform MAIL Search $Text = preg_replace("(\[mail\]([$MAILSearchString]*)\[/mail\])", '[$1](mailto:$1)', $Text);