From: Michael Date: Sat, 17 Dec 2022 22:07:14 +0000 (+0000) Subject: Fix image grid in shared Friendica posts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ed520a3f39ec7136db9c9adf731090e647613d4d;p=friendica.git Fix image grid in shared Friendica posts --- diff --git a/src/Model/Item.php b/src/Model/Item.php index 33ba8ee7a4..112c36a9c8 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -3030,6 +3030,7 @@ class Item $shared = DI::contentItem()->getSharedPost($item, $fields); if (!empty($shared['post'])) { $shared_item = $shared['post']; + $shared_item['body'] = Post\Media::removeFromEndOfBody($shared_item['body']); $quote_uri_id = $shared['post']['uri-id']; $shared_links[] = strtolower($shared['post']['uri']); $item['body'] = BBCode::removeSharedData($item['body']);