aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/notification.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index abd3fbb55..44d896d18 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -273,7 +273,8 @@
$subject = mb_encode_mimeheader($subject,"UTF-8", "B");
}
- // Format message
+ // Format message
+ $message = html_entity_decode($message, ENT_COMPAT, 'UTF-8'); // Decode any html entities
$message = strip_tags($message); // Strip tags from message
$message = preg_replace("/(\r\n|\r)/", "\n", $message); // Convert to unix line endings in body
$message = preg_replace("/^From/", ">From", $message); // Change lines starting with From to >From