mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 09:04:26 +02:00
Create event for html2bbcode hook
This commit is contained in:
parent
a94bead5f6
commit
3d3e34865b
5 changed files with 55 additions and 4 deletions
|
@ -282,11 +282,13 @@ class OEmbed
|
|||
}
|
||||
}
|
||||
} elseif (!strpos($oembed->html, $oembed->embed_url)) {
|
||||
// add <a> for html2bbcode conversion
|
||||
// add <a> for html to bbcode conversion
|
||||
$ret .= '<a href="' . $oembed->embed_url . '" rel="oembed">' . $oembed->title . '</a>';
|
||||
}
|
||||
|
||||
$ret .= '</div>';
|
||||
|
||||
// FIXME: Why is $test unused?
|
||||
$test = Proxy::proxifyHtml($ret, $uriid);
|
||||
|
||||
return str_replace("\n", "", $ret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue