Merge pull request #14346 from tomaski/master
fix(EMailTemplate): malformed HTML in some cases
This commit is contained in:
commit
407c7c2ad3
|
@ -435,6 +435,7 @@ EOF;
|
||||||
$text = htmlspecialchars($text);
|
$text = htmlspecialchars($text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->ensureBodyListClosed();
|
||||||
$this->ensureBodyIsOpened();
|
$this->ensureBodyIsOpened();
|
||||||
|
|
||||||
$this->htmlBody .= vsprintf($this->bodyText, [$text]);
|
$this->htmlBody .= vsprintf($this->bodyText, [$text]);
|
||||||
|
|
Loading…
Reference in New Issue