Replace html2bbcode calls by HTML::toBBCode
This commit is contained in:
parent
3bb2f72d05
commit
b5666bd27f
9 changed files with 32 additions and 30 deletions
|
@ -52,7 +52,7 @@ function oexchange_content(App $a) {
|
|||
|
||||
$post['profile_uid'] = local_user();
|
||||
$post['return'] = '/oexchange/done' ;
|
||||
$post['body'] = html2bbcode($s);
|
||||
$post['body'] = Friendica\Content\Text\HTML::toBBCode($s);
|
||||
$post['type'] = 'wall';
|
||||
|
||||
$_REQUEST = $post;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue