Replace html2plain calls by HTML::toPlaintext

This commit is contained in:
Hypolite Petovan 2018-03-07 16:29:44 -05:00
parent b5666bd27f
commit 5e806ff598
6 changed files with 10 additions and 9 deletions

View file

@ -330,7 +330,7 @@ class Email
$body .= "Content-Transfer-Encoding: 8bit\n";
$body .= "Content-Type: text/plain; charset=utf-8; format=flowed\n\n";
$body .= html2plain($html)."\n";
$body .= Friendica\Content\Text\HTML::toPlaintext($html)."\n";
$body .= "--=_".$part."\n";
$body .= "Content-Transfer-Encoding: 8bit\n";