Merge pull request #14387 from nextcloud/backport/14346/stable15

[stable15] fix(EMailTemplate): malformed HTML in some cases
This commit is contained in:
Morris Jobke 2019-02-28 13:45:38 +01:00 committed by GitHub
commit 2184cc4970
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -435,6 +435,7 @@ EOF;
$text = htmlspecialchars($text);
}
$this->ensureBodyListClosed();
$this->ensureBodyIsOpened();
$this->htmlBody .= vsprintf($this->bodyText, [$text]);