From 04ac6b7e56e0681d55370d11184a0f310c944ede Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 14 Aug 2008 15:24:45 +0000 Subject: Fixes #245: Tags now stripped from email messages. git-svn-id: https://code.elgg.org/elgg/trunk@1922 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/notification.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine/lib/notification.php') diff --git a/engine/lib/notification.php b/engine/lib/notification.php index bdfbf65c3..4bc0a0476 100644 --- a/engine/lib/notification.php +++ b/engine/lib/notification.php @@ -254,6 +254,9 @@ if (is_callable('mb_encode_mimeheader')) { $subject = mb_encode_mimeheader($subject,"UTF-8", "B"); } + + // Strip tags from message + $message = strip_tags($message); return mail($to, $subject, wordwrap($message), $headers); } -- cgit v1.2.3