aboutsummaryrefslogtreecommitdiffstats
path: root/include/bb2diaspora.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-23 16:01:04 -0700
committerFriendika <info@friendika.com>2011-10-23 16:01:04 -0700
commit6eea312c213d34b21681b90a51bd83e6cfe936f4 (patch)
tree3bc646c633be022e3071bc8939bb22b89b6c8a70 /include/bb2diaspora.php
parent0b2c5bf8f54326626c28906c7181e546b56e6c44 (diff)
downloadvolse-hubzilla-6eea312c213d34b21681b90a51bd83e6cfe936f4.tar.gz
volse-hubzilla-6eea312c213d34b21681b90a51bd83e6cfe936f4.tar.bz2
volse-hubzilla-6eea312c213d34b21681b90a51bd83e6cfe936f4.zip
workaround for transmitting photos to D*
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r--include/bb2diaspora.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index ef5477f1b..d6c7994ba 100644
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -58,7 +58,7 @@ function bb2diaspora($Text,$preserve_nl = false) {
$Text = preg_replace("/\#\[url\=([$URLSearchString]*)\](.*?)\[\/url\]/ism", '[#$2]($1)', $Text);
$Text = preg_replace("/\[url\=([$URLSearchString]*)\](.*?)\[\/url\]/ism", '[$2]($1)', $Text);
-// $Text = preg_replace("/\[img\](.*?)\[\/img\]/", t('Image/photo: ') . '$1', $Text);
+ $Text = preg_replace("/\[img\](.*?)\[\/img\]/", '![' . t('image/photo') . '](' . '$1' . ')', $Text);
// $Text = preg_replace("/\[img\](.*?)\[\/img\]/", t('image/photo'), $Text);
// Perform MAIL Search