Commit 6db8413d authored by Mario's avatar Mario

diaspora: fix wrong callback function

parent f7bf0f6a
......@@ -1117,7 +1117,7 @@ function diaspora_markdown_to_bb_init(&$s) {
$s = preg_replace_callback('/\@\{(.+?)\@(.+?)\}\+/','diaspora_md_mention_callback2',$s);
$s = preg_replace_callback('/\@\{(.+?)\@(.+?)\}/','diaspora_md_mention_callback2',$s);
$s = preg_replace_callback('/\!\{(.+?)\@(.+?)\}/','diaspora_forum_mention_callback2',$s);
$s = preg_replace_callback('/\!\{(.+?)\@(.+?)\}/','diaspora_forum_mention_callback',$s);
// replace diaspora://$author_handle/$post_type/$guid with a local representation.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment