From 124881903ef1c6bd6717b14074538007a01da89a Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 23 Aug 2011 01:51:37 -0700 Subject: [PATCH] forget about the image link we have it in the wrapper --- include/bb2diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index 3d584643..0dae9ae4 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -38,7 +38,7 @@ function bb2diaspora($Text,$preserve_nl = false) { $Text = preg_replace("/\[url\]([$URLSearchString]*)\[\/url\]/", '[$1]($1)', $Text); $Text = preg_replace("(\[url\=([$URLSearchString]*)\](.*?)\[/url\])", '[$2]($1)', $Text); - $Text = preg_replace("/\[img\](.*?)\[\/img\]/", t('Image/photo: ') . '$1', $Text); +// $Text = preg_replace("/\[img\](.*?)\[\/img\]/", t('Image/photo: ') . '$1', $Text); // Perform MAIL Search $Text = preg_replace("(\[mail\]([$MAILSearchString]*)\[/mail\])", '[$1](mailto:$1)', $Text);