From 8fc9da83064723a1d8b7e89a6eb0b14158d6bb00 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Tue, 25 Mar 2025 14:50:42 +0300 Subject: [PATCH] Add line break after message text --- post_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post_parser.py b/post_parser.py index 87f10a5..bfbafb3 100644 --- a/post_parser.py +++ b/post_parser.py @@ -409,7 +409,7 @@ class PostParser: text = text.replace('\n', '
') # Replace newlines with
text = self._add_hyperlinks_to_raw_urls(text) if text: # Message text - content_body.append(f'
{text}
') + content_body.append(f'
{text}

') if poll := getattr(message, "poll", None): # Poll message if poll_html := self._format_poll(poll):