Fixing formatting errors

This commit is contained in:
Jonathan Bobel
2025-03-18 16:07:58 -04:00
parent 1d911c4d44
commit 2049fd5c76
2 changed files with 2 additions and 2 deletions

View File

@@ -119,7 +119,6 @@ class OnlySMSCharacters:
)
class LettersNumbersSingleQuotesFullStopsAndUnderscoresOnly:
regex = re.compile(r"^[a-zA-Z0-9\s\._']+$")

View File

@@ -682,7 +682,8 @@ def count_content_length(service_id, template_type):
def _get_content_count_error_and_message_for_template(template):
if template.template_type == "sms":
s1 = "<html><body>Looks like your template may have one of these characters • ™ ∞ ≤ or ≥ or emoji, which won't save."
s1 = "<html><body>Looks like your template may have one of these characters " \
"• ™ ∞ ≤ or ≥ or emoji, which won't save."
s2 = "<br>Please remove any unaccepted characters or emojis and try again.</body></html>"
# Define characters that should be blocked