mirror of
https://github.com/friendica/friendica
synced 2025-04-29 21:04:24 +02:00
Replace html2bbcode calls by HTML::toBBCode
This commit is contained in:
parent
3bb2f72d05
commit
b5666bd27f
9 changed files with 32 additions and 30 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
namespace Friendica\Protocol;
|
||||
|
||||
use Friendica\Content\Text\HTML;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Database\DBM;
|
||||
|
@ -155,7 +156,7 @@ class PortableContact
|
|||
}
|
||||
|
||||
if (isset($entry->aboutMe)) {
|
||||
$about = html2bbcode($entry->aboutMe);
|
||||
$about = HTML::toBBCode($entry->aboutMe);
|
||||
}
|
||||
|
||||
if (isset($entry->gender)) {
|
||||
|
@ -1669,7 +1670,7 @@ class PortableContact
|
|||
}
|
||||
|
||||
if (isset($entry->aboutMe)) {
|
||||
$about = html2bbcode($entry->aboutMe);
|
||||
$about = HTML::toBBCode($entry->aboutMe);
|
||||
}
|
||||
|
||||
if (isset($entry->gender)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue