From 888dec1593ab5206bd3053298152f1e0e6783ee3 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 9 Mar 2023 20:59:42 +0000 Subject: [PATCH] Remove media to avoid duplicated images --- tumblr/tumblr.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tumblr/tumblr.php b/tumblr/tumblr.php index 674d6e9e..41512ff2 100644 --- a/tumblr/tumblr.php +++ b/tumblr/tumblr.php @@ -359,6 +359,7 @@ function tumblr_send(array &$b) ]; $body = BBCode::removeShareInformation($b['body']); + $body = Post\Media::removeFromEndOfBody($body); if ($photo !== false) { $params['type'] = 'photo'; -- 2.39.5