From 6a66be8fca0448741927e68544b2832bf17866f6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 13 Apr 2022 18:31:54 +0100 Subject: [PATCH] Append edits last --- webapp_post.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp_post.py b/webapp_post.py index 66c169999..afafe1e4e 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -2039,8 +2039,6 @@ def individual_post_as_html(signing_priv_key_pem: str, if not is_pgp_encrypted(content_str): if not is_patch: - # append any edits - content_str += edits_str # Add bold text if bold_reading 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) object_content = html_replace_email_quote(object_content) object_content = html_replace_quote_marks(object_content) + # append any edits + object_content += edits_str else: object_content = content_str else: