From 398cc2e01fd180e3ada30a210862d3cd3f294660 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 1 Jan 2023 14:28:22 +0000 Subject: [PATCH] Add text mode separator to profile search result --- webapp_profile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp_profile.py b/webapp_profile.py index 166388b2e..510bf1130 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -380,6 +380,7 @@ def html_profile_after_search(recent_posts_cache: {}, max_recent_posts: int, session, outbox_url, as_header, project_version, http_prefix, from_domain, debug) if user_feed: + text_mode_separator = '

' minimize_all_images = False if nickname in min_images_for_accounts: minimize_all_images = True @@ -391,6 +392,7 @@ def html_profile_after_search(recent_posts_cache: {}, max_recent_posts: int, continue profile_str += \ + text_mode_separator + \ individual_post_as_html(signing_priv_key_pem, True, recent_posts_cache, max_recent_posts, @@ -421,7 +423,7 @@ def html_profile_after_search(recent_posts_cache: {}, max_recent_posts: int, instance_title = get_config_param(base_dir, 'instanceTitle') return html_header_with_external_style(css_filename, instance_title, None) + \ - profile_str + html_footer() + profile_str + text_mode_separator + html_footer() def _get_profile_header(base_dir: str, http_prefix: str, nickname: str,