diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php index 785d000f8..5bf445a95 100644 --- a/include/functions_mail.inc.php +++ b/include/functions_mail.inc.php @@ -697,7 +697,7 @@ function pwg_mail($to, $args = array()) nl2br( preg_replace("/(http:\/\/)([^\s,]*)/i", "$1$2", - htmlentities($args['content']))). + htmlspecialchars($args['content']))). '

'; } else