Add bold later after pgp check

merge-requests/30/head
Bob Mottram 2022-03-24 13:35:12 +00:00
parent 5373160fbf
commit 7816f28833
1 changed files with 4 additions and 3 deletions

View File

@ -1983,13 +1983,14 @@ def individual_post_as_html(signing_priv_key_pem: str,
post_json_object['object']['type'],
summary_str, content_str)
if bold_reading and not is_patch and not displaying_ciphertext:
content_str = bold_reading_string(content_str)
_log_post_timing(enable_timing_log, post_start_time, '16')
if not is_pgp_encrypted(content_str):
if not is_patch:
# Add bold text
if bold_reading and not displaying_ciphertext:
content_str = bold_reading_string(content_str)
object_content = \
remove_long_words(content_str, 40, [])
object_content = remove_text_formatting(object_content)