Просмотр исходного кода

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>
tags/v12.0.0beta1
Bjoern Schiessle 7 лет назад
Родитель
Сommit
0a464dfb61
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      lib/private/Mail/EMailTemplate.php

+ 1
- 1
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);
}


Загрузка…
Отмена
Сохранить