mirror of
https://github.com/friendica/friendica
synced 2025-05-03 01:44:25 +02:00
We only need a link here
This commit is contained in:
parent
60ddef1720
commit
d41ec728e4
3 changed files with 5 additions and 5 deletions
|
@ -1124,7 +1124,7 @@ class Feed
|
|||
XML::addElement($doc, $entry, 'title', html_entity_decode($title, ENT_QUOTES, 'UTF-8'));
|
||||
|
||||
$body = Post\Media::addAttachmentsToBody($item['uri-id'], DI::contentItem()->addSharedPost($item));
|
||||
$body = Post\Media::addHTMLAttachmentToBody($item['uri-id'], $body);
|
||||
$body = Post\Media::addHTMLLinkToBody($item['uri-id'], $body);
|
||||
|
||||
$body = BBCode::convertForUriId($item['uri-id'], $body, BBCode::ACTIVITYPUB);
|
||||
|
||||
|
|
|
@ -1515,7 +1515,7 @@ class OStatus
|
|||
XML::addElement($doc, $entry, 'title', html_entity_decode($title, ENT_QUOTES, 'UTF-8'));
|
||||
|
||||
$body = Post\Media::addAttachmentsToBody($item['uri-id'], DI::contentItem()->addSharedPost($item));
|
||||
$body = Post\Media::addHTMLAttachmentToBody($item['uri-id'], $body);
|
||||
$body = Post\Media::addHTMLLinkToBody($item['uri-id'], $body);
|
||||
|
||||
if (!empty($item['title'])) {
|
||||
$body = '[b]' . $item['title'] . "[/b]\n\n" . $body;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue