Skip to content
Snippets Groups Projects
Commit ae789a21 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

Merge branch 'feature_4_3' of gitlab.sgalinski.de:typo3/sg_mail into feature_4_3

parents 4de10c98 b8edd213
No related branches found
No related tags found
1 merge request!6Feature 4 3
...@@ -341,7 +341,6 @@ class MailTemplateService { ...@@ -341,7 +341,6 @@ class MailTemplateService {
// insert <br /> tags, but replace every instance of three or more successive breaks with just two. // insert <br /> tags, but replace every instance of three or more successive breaks with just two.
$emailBody = nl2br($emailBody); $emailBody = nl2br($emailBody);
$emailBody = preg_replace('/(<br[\s]?[\/]?>[\s]*){3,}/', '<br /><br />', $emailBody); $emailBody = preg_replace('/(<br[\s]?[\/]?>[\s]*){3,}/', '<br /><br />', $emailBody);
$isTemplateBlacklisted = self::isTemplateBlacklisted( $isTemplateBlacklisted = self::isTemplateBlacklisted(
$this->extensionKey, $this->templateName, $siteRootId $this->extensionKey, $this->templateName, $siteRootId
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment