From c55d24b451cfab81b68452064951f1ada4ff9d1f Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 23 Aug 2011 01:52:59 -0700 Subject: [PATCH] second try --- include/bb2diaspora.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index 0dae9ae4..ceda4b69 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -39,6 +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); // Perform MAIL Search $Text = preg_replace("(\[mail\]([$MAILSearchString]*)\[/mail\])", '[$1](mailto:$1)', $Text);