From 0a464dfb61a485a1340ecc9279e0db262154f059 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Wed, 12 Apr 2017 12:43:55 +0200 Subject: [PATCH] make the plain text footer standard compliant and add a space after '--'. It also adds a line break in front so that there is some spacing between the mail body and the footer Signed-off-by: Bjoern Schiessle --- lib/private/Mail/EMailTemplate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php index dd5cf605c9..b0378496d9 100644 --- a/lib/private/Mail/EMailTemplate.php +++ b/lib/private/Mail/EMailTemplate.php @@ -461,7 +461,7 @@ EOF; $this->htmlBody .= vsprintf($this->footer, [$text]); $this->htmlBody .= $this->tail; - $this->plainBody .= '--' . PHP_EOL; + $this->plainBody .= PHP_EOL . '-- ' . PHP_EOL; $this->plainBody .= str_replace('
', PHP_EOL, $text); }