Skip to content

Commit

Permalink
Replace insert tags in mail_* templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Toflar committed Apr 4, 2024
1 parent f54814a commit ef06dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gateway/MailerGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ private function renderEmailTemplate(Parcel $parcel): string
$template->body = $this->replaceTokensAndInsertTags($parcel, StringUtil::restoreBasicEntities($languageConfig->getString('email_html')));
$template->language = LocaleUtil::formatAsLanguageTag($languageConfig->getString('language'));

return $template->parse();
return $this->replaceInsertTags($template->parse());
}

private function addAttachmentsFromTokens(LanguageConfig $languageConfig, Parcel $parcel, EmailStamp $emailStamp): EmailStamp
Expand Down

0 comments on commit ef06dd7

Please sign in to comment.