aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-21 00:20:55 -0800
committerFriendika <info@friendika.com>2011-02-21 00:20:55 -0800
commit0a7b3c111e0b137b91a050538e16ccbb5f82f859 (patch)
tree7abe78055019044b6e7abc11f6bc9a820ce1cc38
parent5c5ff0b87a22ca9c11b9a267321d67f53afe42ba (diff)
downloadvolse-hubzilla-0a7b3c111e0b137b91a050538e16ccbb5f82f859.tar.gz
volse-hubzilla-0a7b3c111e0b137b91a050538e16ccbb5f82f859.tar.bz2
volse-hubzilla-0a7b3c111e0b137b91a050538e16ccbb5f82f859.zip
convert html entities on conversational emails
-rw-r--r--mod/dfrn_notify.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php
index 9272a7c13..cd7b0cff0 100644
--- a/mod/dfrn_notify.php
+++ b/mod/dfrn_notify.php
@@ -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 ")