mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 17:14:26 +02:00
Fix plaintext function by partly reverting function removal
This commit is contained in:
parent
c1686c486c
commit
e0fe3bf77d
2 changed files with 178 additions and 1 deletions
|
@ -132,7 +132,7 @@ class Plaintext
|
|||
$body = BBCode::stripAbstract($body);
|
||||
|
||||
// At first look at data that is attached via "type-..." stuff
|
||||
$post = BBCode::getAttachmentData($body, $item);
|
||||
$post = BBCode::getAttachedData($body, $item);
|
||||
|
||||
if (($item['title'] != '') && ($post['text'] != '')) {
|
||||
$post['text'] = trim($item['title'] . "\n\n" . $post['text']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue