Commit 680f096
Fix JUnit HTML reports to preserve whitespace in failure messages
- Add `white-space: pre-wrap` CSS rule for `code` elements so spaces and
newlines are preserved in browser rendering
- Wrap @message output in a `<code>` element so the failure message text
also benefits from the whitespace preservation CSS rule
Fixes: #3723
Agent-Logs-Url: https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/sessions/70ecfbb4-6cee-4f8f-a49b-c8496722fff2
Co-authored-by: Federico Jeanne <Federico.Jeanne@vector.com>1 parent a7bcdee commit 680f096
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
| |||
572 | 575 | | |
573 | 576 | | |
574 | 577 | | |
575 | | - | |
| 578 | + | |
576 | 579 | | |
577 | 580 | | |
578 | 581 | | |
| |||
0 commit comments