Browse Source

Don't be greedy.

pull/3058/head
Michael 4 years ago
parent
commit
9a6478b273
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/bb2diaspora.php

+ 1
- 1
include/bb2diaspora.php View File

@ -156,7 +156,7 @@ function bb2diaspora($Text,$preserve_nl = false, $fordiaspora = true) {
if ($fordiaspora) {
$URLSearchString = "^\[\]";
$Text = preg_replace_callback("/([@]\[(.*?)\])\(([$URLSearchString]*)\)/ism", 'diaspora_mentions', $Text);
$Text = preg_replace_callback("/([@]\[(.*?)\])\(([$URLSearchString]*?)\)/ism", 'diaspora_mentions', $Text);
}
call_hooks('bb2diaspora',$Text);


Loading…
Cancel
Save