mirror of
https://github.com/friendica/friendica
synced 2025-04-25 21:50:12 +00:00
functions moved to HTML class
update function calls to moved class.
This commit is contained in:
parent
e31dde6084
commit
a71eb1d127
8 changed files with 19 additions and 14 deletions
|
@ -2500,9 +2500,9 @@ class DFRN
|
|||
/// @todo Do we really need this check for HTML elements? (It was copied from the old function)
|
||||
if ((strpos($item['body'], '<') !== false) && (strpos($item['body'], '>') !== false)) {
|
||||
$base_url = get_app()->getBaseURL();
|
||||
$item['body'] = reltoabs($item['body'], $base_url);
|
||||
$item['body'] = HTML::relToAbs($item['body'], $base_url);
|
||||
|
||||
$item['body'] = html2bb_video($item['body']);
|
||||
$item['body'] = HTML::htmlToBBVideo($item['body']);
|
||||
|
||||
$item['body'] = OEmbed::HTML2BBCode($item['body']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue