Refactor VkPostPublisher to simplify message formatting and enhance PostListItem layout for better author display

This commit is contained in:
F4ilji
2025-11-25 16:10:50 +05:00
parent a983ab0424
commit 537fa2b0b5
2 changed files with 15 additions and 12 deletions
@@ -88,7 +88,7 @@ class VkPostPublisher
private function generateContentForVk($post): string
{
$message = '';
$message .= "Название: $post->title\n\n";
$message .= "$post->title\n\n";
if (is_array($post->content)) {
$message .= $this->parseContentBlocks($post->content);