-
Notifications
You must be signed in to change notification settings - Fork 3
Render multiline descriptions nicely #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
User descriptionFix rendering of description field which has multiple lines. Now it looks like this: With these changes, it renders this way: Generated-by: Claude Code noreply@claude.com PR TypeEnhancement Description
Diagram Walkthroughflowchart LR
A["Multiline Description Text"] -->|"Wrapped in div.description"| B["Pre-formatted Text Block"]
B -->|"CSS: white-space pre-wrap"| C["Preserved Line Breaks"]
D["Template Updates"] -->|"Applied to"| E["testorplan.html.j2<br/>testandplan.html.j2"]
F["Unit Tests"] -->|"Validate"| C
|
| Relevant files | |||||||
|---|---|---|---|---|---|---|---|
| Enhancement |
| ||||||
| Tests |
|
The managed version of the open source project PR-Agent is sunsetting on the 1st December 2025. The commercial version of this project will remain available and free to use as a hosted service. Install Qodo.
PR Compliance Guide 🔍(Compliance updated until commit 39ffd18)Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label Previous compliance checksCompliance check up to commit ea74ec2
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨
Explore these optional code suggestions:
|
||||||||||||
Fix rendering of description field which has multiple lines. Now it looks like this: https://tmt.testing-farm.io/?test-url=https://gitlab.com/testing-farm/tests&test-name=/container/build With these changes, it renders this way: https://imgur.com/a/S5cRLOj Generated-by: Claude Code <noreply@claude.com> Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
therazix
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Fix rendering of description field which has multiple lines.
Now it looks like this:
https://tmt.testing-farm.io/?test-url=https://gitlab.com/testing-farm/tests&test-name=/container/build
With these changes, it renders this way:
https://imgur.com/a/S5cRLOj
Generated-by: Claude Code
Resolves: #25