|
|
@@ -2432,7 +2432,7 @@ class Email implements JsonSerializable, Serializable
|
|
|
if (!preg_match('/<[a-z]+.*>/i', $line)) {
|
|
|
$formatted = array_merge(
|
|
|
$formatted,
|
|
|
- explode("\n", wordwrap($line, $wrapLength, "\n", $cut))
|
|
|
+ explode("\n", Text::wordWrap($line, $wrapLength, "\n", $cut))
|
|
|
);
|
|
|
continue;
|
|
|
}
|
|
|
@@ -2453,7 +2453,7 @@ class Email implements JsonSerializable, Serializable
|
|
|
if ($tmpLineLength > 0) {
|
|
|
$formatted = array_merge(
|
|
|
$formatted,
|
|
|
- explode("\n", wordwrap(trim($tmpLine), $wrapLength, "\n", $cut))
|
|
|
+ explode("\n", Text::wordWrap(trim($tmpLine), $wrapLength, "\n", $cut))
|
|
|
);
|
|
|
$tmpLine = '';
|
|
|
$tmpLineLength = 0;
|