Replace html2plain calls by HTML::toPlaintext
This commit is contained in:
parent
b5666bd27f
commit
5e806ff598
6 changed files with 10 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue