changes to sms packages and option to create user
This commit is contained in:
@@ -24,6 +24,7 @@ protected function normalizeForSms(string $text): string
|
||||
{
|
||||
// Replace NBSP (\xC2\xA0 in UTF-8) and tabs with regular space
|
||||
$text = str_replace(["\u{00A0}", "\t"], ' ', $text);
|
||||
|
||||
// Optionally collapse CRLF to LF (providers typically accept both); keep as-is otherwise
|
||||
return $text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user