Update PostParser to prepend line break before flags HTML

This commit is contained in:
vvzvlad
2025-03-28 16:53:51 +03:00
parent c57e6f5318
commit cef46680ef
2 changed files with 18 additions and 2 deletions
+1 -1
View File
@@ -531,7 +531,7 @@ class PostParser:
if reactions_views_html := self._reactions_views_links(message): # Add reactions, views, date and links
content_footer.append(reactions_views_html)
if flags_html := self._format_flags(message): # Add flags
content_footer.append(flags_html)
content_footer.append('<br>' + flags_html)
html_footer = '\n'.join(content_footer)
html_footer = self._sanitize_html(html_footer)
return html_footer