mirror of
https://github.com/friendica/friendica
synced 2025-04-28 13:04:23 +02:00
Remove function prepare_text and use BBCode::convert() instead
This commit is contained in:
parent
2c31916757
commit
9e94e8b48c
4 changed files with 16 additions and 29 deletions
|
@ -3348,7 +3348,7 @@ class Item extends BaseObject
|
|||
) {
|
||||
self::addRedirLinkToImageLinks($item);
|
||||
|
||||
$item["rendered-html"] = prepare_text($item["body"]);
|
||||
$item["rendered-html"] = BBCode::convert($item["body"]);
|
||||
$item["rendered-hash"] = hash("md5", $item["body"]);
|
||||
|
||||
$hook_data = ['item' => $item, 'rendered-html' => $item['rendered-html'], 'rendered-hash' => $item['rendered-hash']];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue