Issue Bug Closed

#90987EmailFinisher use only plaintext Fluid template

Markus Pircher 04/09/20, 14:26 updated 08/11/21, 09:24

Description

If you add HTML to the email, initializeStandaloneView() is called twice, first for plaintext, second for html, but the templatePathAndFilename option is overwritten in the method, and then {@format} is no longer available, so the HTML part also us the plaintext template.

$this->options['templatePathAndFilename'] = strtr($this->options['templatePathAndFilename'], [
   '{@format}' => $format
]);

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.