aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/notification.php3
1 files changed, 3 insertions, 0 deletions
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);
}