Project

General

Profile

Task #105512

Updated by Simon Schaufelberger 2 days ago

Adding custom template variables doesn't work in SystemEmail because of the way how the inline CSS is parsed. 

 This can be reproduced like so: 

 <pre><code class="yaml"> 
 finishers: 
   - 
     options: 
       subject: 'Kontaktformular' 
       senderAddress: 'no-reply@typo3.org' 
       senderName: 'Sender Name' 
       title: 'Kontaktformular' 
       variables: 
         foo: 'bar' 
     identifier: EmailToReceiver 
 </code></pre> 

 and in the SystemEmail.html template put the following line right after the body tag: 

 <pre> 
 {foo} 
 </pre> 

 Expected output: @bar@. "bar". 

 Actual output: @{foo}@. "{foo}". 

 See also this issue which is directly reported for Fluid: https://github.com/TYPO3/Fluid/issues/808 which is the same issue

Back