From 50a61f2677f5cc095cf2b77cf99fb74a67bca45a Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Thu, 27 Mar 2025 18:32:46 +0300 Subject: [PATCH] Refactor PostParser to improve spacer handling in date-links formatting --- post_parser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/post_parser.py b/post_parser.py index ecb146c..200e7b8 100644 --- a/post_parser.py +++ b/post_parser.py @@ -657,7 +657,8 @@ class PostParser: second_line_parts.extend(links) if second_line_parts: - parts.append(f'') + spacer = " " + parts.append(f'') # Third line: flags (if any) if flags := self._format_flags(message):