Browse Source

forget about the image link we have it in the wrapper

pull/1/head
Friendika 11 years ago
parent
commit
124881903e
  1. 2
      include/bb2diaspora.php

2
include/bb2diaspora.php

@ -38,7 +38,7 @@ function bb2diaspora($Text,$preserve_nl = false) {
$Text = preg_replace("/\[url\]([$URLSearchString]*)\[\/url\]/", '[$1]($1)', $Text);
$Text = preg_replace("(\[url\=([$URLSearchString]*)\](.*?)\[/url\])", '[$2]($1)', $Text);
$Text = preg_replace("/\[img\](.*?)\[\/img\]/", t('Image/photo: ') . '$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);

Loading…
Cancel
Save