diff options
-rw-r--r-- | include/bb2diaspora.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index 0dae9ae45..ceda4b69c 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); |