mirror of https://gitlab.com/bashrc2/epicyon
Add bold later after pgp check
parent
5373160fbf
commit
7816f28833
|
@ -1983,13 +1983,14 @@ def individual_post_as_html(signing_priv_key_pem: str,
|
||||||
post_json_object['object']['type'],
|
post_json_object['object']['type'],
|
||||||
summary_str, content_str)
|
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')
|
_log_post_timing(enable_timing_log, post_start_time, '16')
|
||||||
|
|
||||||
if not is_pgp_encrypted(content_str):
|
if not is_pgp_encrypted(content_str):
|
||||||
if not is_patch:
|
if not is_patch:
|
||||||
|
# Add bold text
|
||||||
|
if bold_reading and not displaying_ciphertext:
|
||||||
|
content_str = bold_reading_string(content_str)
|
||||||
|
|
||||||
object_content = \
|
object_content = \
|
||||||
remove_long_words(content_str, 40, [])
|
remove_long_words(content_str, 40, [])
|
||||||
object_content = remove_text_formatting(object_content)
|
object_content = remove_text_formatting(object_content)
|
||||||
|
|
Loading…
Reference in New Issue