Sarah4908 opened a new pull request, #63492:
URL: https://github.com/apache/airflow/pull/63492
### What
Fix rendering of truncated templated fields in the Task Instance UI.
### Why
When a templated field exceeds `[core]max_templated_field_length`,
the truncated value is currently displayed as a single line without
preserved line breaks. This makes rendered templates difficult to read,
especially when they contain formatted JSON, SQL queries, or other
multi-line content.
### How
Update the `<pre>` container in
`airflow-core/src/airflow/ui/src/pages/TaskInstance/RenderedTemplates.tsx`
by adding `whiteSpace="pre-wrap"` so that truncated values preserve
line breaks and wrap correctly in the UI.
closes: #63226
--
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]