diff --git a/webapp_post.py b/webapp_post.py index c976b95e6..9e8cba2f8 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -1338,8 +1338,9 @@ 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('--', '-') post_link = '/users/' + nickname + '?convthread=' + \ - post_id.replace('--', '/') + post_id.replace('--', '/') + post_bookmark return ' ' + \
         announces_str + '\n' @@ -2702,8 +2708,9 @@ def individual_post_as_html(signing_priv_key_pem: str, if content_license_url and not is_reminder(post_json_object): footer_str += _get_copyright_footer(content_license_url, translate) + post_bookmark = '#' + published_link.replace('--', '-') conv_link = '/users/' + nickname + '?convthread=' + \ - published_link.replace('--', '/') + published_link.replace('--', '/') + post_bookmark footer_str += '' + \ published_str + '\n'