diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2017-04-12 12:43:55 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2017-04-12 17:16:27 +0200 |
commit | 0a464dfb61a485a1340ecc9279e0db262154f059 (patch) | |
tree | be074f214389a9a278ae10ab30f3af3a2bcc7eee /lib/private/Mail | |
parent | 1c8c62272c6862405c435e015c107b1767e43b9b (diff) | |
download | nextcloud-server-0a464dfb61a485a1340ecc9279e0db262154f059.tar.gz nextcloud-server-0a464dfb61a485a1340ecc9279e0db262154f059.zip |
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 <bjoern@schiessle.org>
Diffstat (limited to 'lib/private/Mail')
-rw-r--r-- | lib/private/Mail/EMailTemplate.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php index dd5cf605c99..b0378496d9e 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('<br>', PHP_EOL, $text); } |