Actions
Bug #90987
closedEmailFinisher use only plaintext Fluid template
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2020-04-09
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Remote Sprint
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
]);
Actions