mirror of
https://github.com/friendica/friendica
synced 2025-04-28 02:30:16 +00: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
|
@ -363,7 +363,7 @@ class Feed {
|
|||
if (self::titleIsBody($item["title"], $body)) {
|
||||
$item["title"] = "";
|
||||
}
|
||||
$item["body"] = html2bbcode($body, $basepath);
|
||||
$item["body"] = Friendica\Content\Text\HTML::toBBCode($body, $basepath);
|
||||
|
||||
if (($item["body"] == '') && ($item["title"] != '')) {
|
||||
$item["body"] = $item["title"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue