From 2e61b935e59a6c321f624a1eee28bfdc04909382 Mon Sep 17 00:00:00 2001 From: bashrc Date: Tue, 14 Apr 2026 13:45:05 +0100 Subject: [PATCH] Use dots to indicate truncation --- webapp_post.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp_post.py b/webapp_post.py index 50cfe72f7..40dd421e5 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -3243,7 +3243,8 @@ def individual_post_as_html(signing_priv_key_pem: str, # truncate content warning if it is too long if len(cw_content_str) > max_content_warning_length: cw_content_str = \ - remove_html(cw_content_str[:max_content_warning_length]) + remove_html(cw_content_str[:max_content_warning_length]) + \ + '...' if not is_blog_post(post_json_object): # get the content warning button content_str += \