mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
fix(EMailTemplate): malformed HTML in some cases
when an addBodyListItem() is not directly followed by addBodyButton(), resulting HTML is broken Signed-off-by: Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
This commit is contained in:
parent
bb6f832ec3
commit
22cfc5b87f
1 changed files with 1 additions and 0 deletions
|
|
@ -436,6 +436,7 @@ EOF;
|
|||
}
|
||||
|
||||
$this->ensureBodyIsOpened();
|
||||
$this->ensureBodyListClosed();
|
||||
|
||||
$this->htmlBody .= vsprintf($this->bodyText, [$text]);
|
||||
if ($plainText !== false) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue