aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/functions_mail.inc.php2
1 files changed, 1 insertions, 1 deletions
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",
"<a href='$1$2'>$1$2</a>",
- htmlentities($args['content']))).
+ htmlspecialchars($args['content']))).
'</p>';
}
else