1
0
Fork 0

Replace html2plain calls by HTML::toPlaintext

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

View file

@ -816,7 +816,7 @@ function item_post(App $a) {
'replyTo' => $a->user['email'],
'messageSubject' => $subject,
'htmlVersion' => $message,
'textVersion' => html2plain($html.$disclaimer)
'textVersion' => Friendica\Content\Text\HTML::toPlaintext($html.$disclaimer)
];
Emailer::send($params);
}