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