diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index e73ded0256..67baf4b2ae 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -494,6 +494,9 @@ class Feed } $item["body"] = HTML::toBBCode($body, $basepath); + // Remove tracking pixels + $item["body"] = preg_replace("/\[img=1x1\]([^\[\]]*)\[\/img\]/Usi", '', $item["body"]); + if (($item["body"] == '') && ($item["title"] != '')) { $item["body"] = $item["title"]; $item["title"] = '';