mirror of
https://github.com/friendica/friendica
synced 2024-11-19 03:03:41 +00:00
convert html entities on conversational emails
This commit is contained in:
parent
5c5ff0b87a
commit
0a7b3c111e
1 changed files with 2 additions and 2 deletions
|
@ -384,7 +384,7 @@ function dfrn_notify_post(&$a) {
|
|||
'$email' => $importer['email'],
|
||||
'$display' => $a->get_baseurl() . '/display/' . $importer['nickname'] . '/' . $posted_id,
|
||||
'$from' => $from,
|
||||
'$body' => strip_tags(bbcode(stripslashes($datarray['body'])))
|
||||
'$body' => html_entity_decode(strip_tags(bbcode(stripslashes($datarray['body']))), ENT_QUOTES, 'UTF-8')
|
||||
));
|
||||
|
||||
$res = mail($importer['email'], $from . t(' commented on an item at ') . $a->config['sitename'],
|
||||
|
@ -450,7 +450,7 @@ function dfrn_notify_post(&$a) {
|
|||
'$email' => $importer['email'],
|
||||
'$from' => $from,
|
||||
'$display' => $a->get_baseurl() . '/display/' . $importer['nickname'] . '/' . $r,
|
||||
'$body' => strip_tags(bbcode(stripslashes($datarray['body'])))
|
||||
'$body' => html_entity_decode(strip_tags(bbcode(stripslashes($datarray['body']))), ENT_QUOTES, 'UTF-8')
|
||||
));
|
||||
|
||||
$res = mail($importer['email'], $from . t(" commented on an item at ")
|
||||
|
|
Loading…
Reference in a new issue