Append edits last

main
Bob Mottram 2022-04-13 18:31:54 +01:00
parent 3f0f478315
commit 6a66be8fca
1 changed files with 2 additions and 2 deletions

View File

@ -2039,8 +2039,6 @@ def individual_post_as_html(signing_priv_key_pem: str,
if not is_pgp_encrypted(content_str): if not is_pgp_encrypted(content_str):
if not is_patch: if not is_patch:
# append any edits
content_str += edits_str
# Add bold text # Add bold text
if bold_reading and \ if bold_reading and \
not displaying_ciphertext and \ not displaying_ciphertext and \
@ -2056,6 +2054,8 @@ def individual_post_as_html(signing_priv_key_pem: str,
switch_words(base_dir, nickname, domain, object_content) switch_words(base_dir, nickname, domain, object_content)
object_content = html_replace_email_quote(object_content) object_content = html_replace_email_quote(object_content)
object_content = html_replace_quote_marks(object_content) object_content = html_replace_quote_marks(object_content)
# append any edits
object_content += edits_str
else: else:
object_content = content_str object_content = content_str
else: else: