diff options
author | Friendika <info@friendika.com> | 2011-08-23 01:47:42 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-23 01:47:42 -0700 |
commit | 508f22f859eb8e450f705a401e72bb2ee2cd72ef (patch) | |
tree | d2bea3ccd498002fb81609718c2fcc40e8b7dcaf /include | |
parent | c1a1b2ab60b9c19d49580869a0835b0be6f0eb0d (diff) | |
download | volse-hubzilla-508f22f859eb8e450f705a401e72bb2ee2cd72ef.tar.gz volse-hubzilla-508f22f859eb8e450f705a401e72bb2ee2cd72ef.tar.bz2 volse-hubzilla-508f22f859eb8e450f705a401e72bb2ee2cd72ef.zip |
photos a bit messed up on d*
Diffstat (limited to 'include')
-rw-r--r-- | include/bb2diaspora.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index 007a2bf35..3d5846432 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -33,13 +33,12 @@ function bb2diaspora($Text,$preserve_nl = false) { // Perform URL Search // [img]pathtoimage[/img] - $Text = preg_replace("/\[img\](.*?)\[\/img\]/", t('Image/photo: ') . '$1', $Text); $Text = preg_replace("/\[url\]([$URLSearchString]*)\[\/url\]/", '[$1]($1)', $Text); $Text = preg_replace("(\[url\=([$URLSearchString]*)\](.*?)\[/url\])", '[$2]($1)', $Text); - //$Text = preg_replace("(\[url\=([$URLSearchString]*)\]([$URLSearchString]*)\[/url\])", '[$2]($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); |