의 미러
https://github.com/friendica/friendica
synced 2025-09-07 21:21:52 +02:00
Remove tracking pixels when importing feeds
This commit is contained in:
부모
74e5a73678
커밋
fcddf24f88
1개의 변경된 파일과 3개의 추가작업 그리고 0개의 파일을 삭제
|
@ -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"] = '';
|
||||
|
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue