From c21da935debcf9271e6db04cb447cf79a2bf513a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 29 May 2024 19:45:27 +0100 Subject: [PATCH] Include colon --- webapp_post.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/webapp_post.py b/webapp_post.py index 8df73cb68..8807dac2e 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -1338,7 +1338,7 @@ def _announce_unattributed_html(translate: {}, if translate.get(announces_str): announces_str = translate[announces_str] post_id = remove_id_ending(post_json_object['object']['id']) - post_bookmark = '#' + post_id.replace('//', '-').replace('/', '-') + post_bookmark = '#' + post_id.replace('://', '-').replace('/', '-') post_link = '/users/' + nickname + '?convthread=' + \ post_id.replace('--', '/') + post_bookmark return '