From ed520a3f39ec7136db9c9adf731090e647613d4d Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 17 Dec 2022 22:07:14 +0000 Subject: [PATCH] Fix image grid in shared Friendica posts --- src/Model/Item.php | 1 + 1 file changed, 1 insertion(+) 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']); -- 2.39.5