[YandexZenBridge] Add image to post (#3478)

This commit is contained in:
Eugene Molotov 2023-07-03 01:56:45 +05:00 committed by GitHub
parent eb2b4747ae
commit 0f14a0f6ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class YandexZenBridge extends BridgeAbstract
$item['timestamp'] = date(DateTimeInterface::ATOM, $publicationDateUnixTimestamp);
}
$item['content'] = $post->text;
$item['content'] = $post->text . "<br /><img src='$post->image' />";
$item['enclosures'] = [
$post->image,
];