aboutsummaryrefslogtreecommitdiffstats
path: root/include/bb2diaspora.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-23 01:52:59 -0700
committerFriendika <info@friendika.com>2011-08-23 01:52:59 -0700
commitc55d24b451cfab81b68452064951f1ada4ff9d1f (patch)
tree9ce6768b5f0b6b6e2e4756a4eb7cd164b13527da /include/bb2diaspora.php
parent124881903ef1c6bd6717b14074538007a01da89a (diff)
downloadvolse-hubzilla-c55d24b451cfab81b68452064951f1ada4ff9d1f.tar.gz
volse-hubzilla-c55d24b451cfab81b68452064951f1ada4ff9d1f.tar.bz2
volse-hubzilla-c55d24b451cfab81b68452064951f1ada4ff9d1f.zip
second try
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r--include/bb2diaspora.php1
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);