From c05beb42f2591cefadda7a2c513482b9b454c6c9 Mon Sep 17 00:00:00 2001 From: Jonathan Bobel Date: Tue, 18 Mar 2025 16:28:30 -0400 Subject: [PATCH] Update templates.py --- app/main/views/templates.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/main/views/templates.py b/app/main/views/templates.py index 53cdf0064..599ce7c07 100644 --- a/app/main/views/templates.py +++ b/app/main/views/templates.py @@ -682,8 +682,10 @@ def count_content_length(service_id, template_type): def _get_content_count_error_and_message_for_template(template): if template.template_type == "sms": - s1 = "Looks like your template may have one of these characters " \ - "• ™ ∞ ≤ or ≥ or emoji, which won't save." + s1 = ( + "Looks like your template may have one of these characters " + "• ™ ∞ ≤ or ≥ or emoji, which won't save." + ) s2 = "
Please remove any unaccepted characters or emojis and try again." # Define characters that should be blocked