mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:35:15 +00:00
looks more structured this way
This commit is contained in:
parent
f8a34c737d
commit
c06dd4b589
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ function oembed_format_object($j){
|
|||
if ( $j->type!='rich' || !strpos($j->html,$embedurl) ){
|
||||
$embedlink = (isset($j->title))?$j->title:$embedurl;
|
||||
$ret .= "<a href='$embedurl' rel='oembed'>$embedlink</a>";
|
||||
$ret .= "<br>";
|
||||
if (isset($j->author_name)) $ret.=" by ".$j->author_name;
|
||||
if (isset($j->provider_name)) $ret.=" on ".$j->provider_name;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue