mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Add more unit tests for the legacy Mail class
This commit is contained in:
parent
c8c319b988
commit
53169710a7
2 changed files with 17 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ class Mail extends Rhymix\Framework\Mail
|
|||
*/
|
||||
public function getPlainContent()
|
||||
{
|
||||
return chunk_split(base64_encode(str_replace(array("<", ">", "&"), array("<", ">", "&"), $this->message->getBody())));
|
||||
return chunk_split(base64_encode(htmlspecialchars($this->message->getBody())));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue