aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-23 01:55:46 -0700
committerFriendika <info@friendika.com>2011-08-23 01:55:46 -0700
commit92504b5df77bb53bc40b7e105e8c7a759995dd30 (patch)
tree167a34c59823ab408ff20e85a4bf1eb0eab3b7a8
parentc55d24b451cfab81b68452064951f1ada4ff9d1f (diff)
downloadvolse-hubzilla-92504b5df77bb53bc40b7e105e8c7a759995dd30.tar.gz
volse-hubzilla-92504b5df77bb53bc40b7e105e8c7a759995dd30.tar.bz2
volse-hubzilla-92504b5df77bb53bc40b7e105e8c7a759995dd30.zip
more testing with images
-rw-r--r--include/bb2diaspora.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index ceda4b69c..3baba8a9e 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);