From 06ad9097908129e6711c2a4cfd9533f3fbe635f5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 20 Jan 2025 20:21:38 +0000 Subject: [PATCH] Without title --- webapp_post.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/webapp_post.py b/webapp_post.py index 3c3eb8621..6a1d24fa3 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -1552,11 +1552,11 @@ def _get_post_title_announce_html(base_dir: str, title_str += mitm_warning_html(translate) if software_name: - if '[' + software_name.title() + ']' not in title_str: + if '[' + software_name + ']' not in title_str: title_str += \ '
\n' + software_name + ']\n' # show avatar of person replied to announce_actor = attributed_to @@ -1641,11 +1641,11 @@ def _reply_to_unknown_html(translate: {}, '" class="announceOrReply" tabindex="10">@unknown\n' if software_name: - if '[' + software_name.title() + ']' not in title_str: + if '[' + software_name + ']' not in title_str: title_str += \ '
\n' + software_name + ']\n' return title_str @@ -1678,11 +1678,11 @@ def _reply_with_unknown_path_html(translate: {}, post_domain + mitm_str + '\n' if software_name: - if '[' + software_name.title() + ']' not in title_str: + if '[' + software_name + ']' not in title_str: title_str += \ '
\n' + software_name + ']\n' return title_str @@ -1712,11 +1712,11 @@ def _get_reply_html(translate: {}, reply_display_name + '\n' if software_name: - if '[' + software_name.title() + ']' not in title_str: + if '[' + software_name + ']' not in title_str: title_str += \ '
\n' + software_name + ']\n' return title_str @@ -1874,11 +1874,11 @@ def _get_post_title_reply_html(base_dir: str, title_str += mitm_warning_html(translate) if software_name: - if '[' + software_name.title() + ']' not in title_str: + if '[' + software_name + ']' not in title_str: title_str += \ '
\n' + software_name + ']\n' _log_post_timing(enable_timing_log, post_start_time, '13.7')