diff --git a/core/modules/system/system.mail.inc b/core/modules/system/system.mail.inc index 6a233de9fc..571a1ae711 100644 --- a/core/modules/system/system.mail.inc +++ b/core/modules/system/system.mail.inc @@ -21,6 +21,8 @@ class DefaultMailSystem implements MailSystemInterface { // Join the body array into one string. $message['body'] = implode("\n\n", $message['body']); // Convert any HTML to plain-text and wrap the mail body for sending. + // Note that backdrop_html_to_text() already calls backdrop_wrap_mail(), so + // it is not necessary to call that explicitly again. $message['body'] = backdrop_html_to_text($message['body']); return $message; }