mirror of
https://github.com/friendica/friendica
synced 2025-04-28 21:44:22 +02:00
Diaspora: Widen the magic link regular expression
This commit is contained in:
parent
ca86a9e1d6
commit
eb714f0487
2 changed files with 2 additions and 2 deletions
|
@ -1200,7 +1200,7 @@ class Diaspora
|
|||
);
|
||||
|
||||
preg_replace_callback(
|
||||
"&\[url=/posts/([^\[\]]*)\](.*)\[\/url\]&Usi",
|
||||
"&\[url=/?posts/([^\[\]]*)\](.*)\[\/url\]&Usi",
|
||||
function ($match) use ($item) {
|
||||
self::fetchGuidSub($match, $item);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue