Text mode separator

merge-requests/30/head
Bob Mottram 2022-12-24 14:15:40 +00:00
parent 52aebd124e
commit 8d4a9a0ff4
1 changed files with 3 additions and 2 deletions

View File

@ -2917,6 +2917,7 @@ def html_conversation_thread(post_id: str,
html_header_with_external_style(css_filename, instance_title, None) html_header_with_external_style(css_filename, instance_title, None)
separator_str = html_post_separator(base_dir, None) separator_str = html_post_separator(base_dir, None)
text_mode_separator = '<div class="transparent"><hr></div>'
minimize_all_images = False minimize_all_images = False
if nickname in min_images_for_accounts: if nickname in min_images_for_accounts:
@ -2951,7 +2952,7 @@ def html_conversation_thread(post_id: str,
dogwhistles, dogwhistles,
minimize_all_images) minimize_all_images)
if post_str: if post_str:
conv_str += separator_str + post_str conv_str += text_mode_separator + separator_str + post_str
conv_str += html_footer() conv_str += text_mode_separator + html_footer()
return conv_str return conv_str