summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-02-26 14:41:23 +0100
committerGitHub <noreply@github.com>2019-02-26 14:41:23 +0100
commit407c7c2ad356baf83cadbc5edb9db49146766650 (patch)
tree4ea274d7570e1e8b69103fb3203e05797ebbb5b1 /lib
parent0b7b32e80864a3f3f4cf69a2b76102bd80860acf (diff)
parent52dcc9550c7378820bc36bf6ed9cf36aad671893 (diff)
downloadnextcloud-server-407c7c2ad356baf83cadbc5edb9db49146766650.tar.gz
nextcloud-server-407c7c2ad356baf83cadbc5edb9db49146766650.zip
Merge pull request #14346 from tomaski/master
fix(EMailTemplate): malformed HTML in some cases
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Mail/EMailTemplate.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php
index 05a884a67fa..b3654f30382 100644
--- a/lib/private/Mail/EMailTemplate.php
+++ b/lib/private/Mail/EMailTemplate.php
@@ -435,6 +435,7 @@ EOF;
$text = htmlspecialchars($text);
}
+ $this->ensureBodyListClosed();
$this->ensureBodyIsOpened();
$this->htmlBody .= vsprintf($this->bodyText, [$text]);