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
+17 -1
View File
@@ -4,5 +4,21 @@
"path": "."
}
],
"settings": {}
"settings": {
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#ebec63",
"activityBar.background": "#ebec63",
"activityBar.foreground": "#15202b",
"activityBar.inactiveForeground": "#15202b99",
"activityBarBadge.background": "#15a9aa",
"activityBarBadge.foreground": "#e7e7e7",
"commandCenter.border": "#15202b99",
"sash.hoverBorder": "#ebec63",
"titleBar.activeBackground": "#e5e636",
"titleBar.activeForeground": "#15202b",
"titleBar.inactiveBackground": "#e5e63699",
"titleBar.inactiveForeground": "#15202b99"
},
"peacock.color": "#e5e636"
}
}