Zhnz commented on issue #74018:
URL: https://github.com/apache/airflow/issues/74018#issuecomment-5930455895

   Update: I found the "rendered templates" Tab, which gave me the hint that 
the Python multi-line string (""") introduced some unintended indentation, 
which I corrected:
   
   Before:
   <img width="925" height="558" alt="Image" 
src="https://github.com/user-attachments/assets/ae837ddd-8d3b-483a-bda0-abb422b296f7";
 />
   
   Corrected body:
   `body="[Dry-Run Ergebnis]\n{{ ti.xcom_pull(task_ids='dry_run') }}",`
   
   After:
   <img width="688" height="495" alt="Image" 
src="https://github.com/user-attachments/assets/538a193c-a7bb-439a-8d5e-03bf63e89443";
 />
   
   Now there is no box around the body but new-lines are still not rendered 
correctly, even though in the template result they are:
   
   <img width="1374" height="272" alt="Image" 
src="https://github.com/user-attachments/assets/fd6627b2-ee01-4cbd-847d-5dc06304771e";
 />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to