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 '