Mola-maker commented on PR #74366:
URL: https://github.com/apache/airflow/pull/74366#issuecomment-6035767921

   Thanks for the review! Here are the before/after screenshots, rendered from 
the actual `FlexibleForm`/`ReactMarkdown` components in the repo's vitest 
setup, using a HITL body with a multi-line plain-text payload (the "before" 
shot is from `main`, the "after" shot from this PR branch):
   
   **Before** — single line breaks collapse, the multi-line body wraps into one 
paragraph:
   
   
![Before](https://raw.githubusercontent.com/Mola-maker/airflow/pr-74366-screenshots/pr-74366/hitl-before.svg)
   
   **After** — each line of the body is preserved with `remarkSoftBreaks`:
   
   
![After](https://raw.githubusercontent.com/Mola-maker/airflow/pr-74366-screenshots/pr-74366/hitl-after.svg)
   
   (Test body: `"[Dry-Run Ergebnis]\nDelete: 
/mnt/x/y/z/data/test.gdb\n...test2...test3...test4.gdb"` — 5 lines; the 
rendered output goes from 0 `<br>` elements to 4.)


-- 
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