mirror of
https://github.com/friendica/friendica
synced 2025-04-26 14:30:13 +00:00
Use oembed for bookmark, audio, video, youtube
This commit is contained in:
parent
306036c626
commit
a9fb8e4d60
2 changed files with 36 additions and 6 deletions
|
@ -338,7 +338,6 @@ function item_post(&$a) {
|
|||
$bookmark = 0;
|
||||
if(preg_match_all("/\[bookmark\=([^\]]*)\](.*?)\[\/bookmark\]/ism",$body,$match)) {
|
||||
$bookmark = 1;
|
||||
$body = preg_replace("/\[bookmark\=([^\]]*)\](.*?)\[\/bookmark\]/ism",'[url=$1]$2[/url]',$body);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue