mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 16:02:14 +09:00
Normalize newline characters in content
This commit is contained in:
parent
0b01c52d98
commit
d2e95fa8e9
1 changed files with 1 additions and 0 deletions
|
|
@ -243,6 +243,7 @@ class SMS
|
|||
public function setBody($content)
|
||||
{
|
||||
$this->content = utf8_trim(utf8_clean($content));
|
||||
$this->content = strtr($this->content, array("\r\n" => "\n"));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue