mirror of
https://github.com/friendica/friendica
synced 2024-11-10 07:42:53 +00:00
photos a bit messed up on d*
This commit is contained in:
parent
c1a1b2ab60
commit
508f22f859
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue