Skip to content

Fix issue #24: Lange Links in der Ticket-Beschreibung handhaben#28

Merged
halbekanne merged 2 commits into
mainfrom
openhands-fix-issue-24
Apr 14, 2026
Merged

Fix issue #24: Lange Links in der Ticket-Beschreibung handhaben#28
halbekanne merged 2 commits into
mainfrom
openhands-fix-issue-24

Conversation

@github-actions

Copy link
Copy Markdown

This pull request fixes #24.

The issue has been successfully resolved. The changes implement URL auto-detection and wrapping for ticket and pull request descriptions. The JiraMarkupPipe now automatically converts plain URLs (http/https/ftp) into clickable links with proper HTML attributes (target="_blank", rel="noopener noreferrer", and class="jira-link"). The CSS for .jira-link includes word-break: break-all and overflow-wrap: break-word, ensuring long URLs wrap correctly. The solution handles edge cases like URLs in parentheses, trailing punctuation, and existing Jira link syntax. Comprehensive tests verify the functionality. The changes affect all locations using the jiraMarkup pipe, including ticket descriptions, comments, and PR descriptions, fully addressing the requirements for clickable and properly wrapped links.

Automatic fix generated by OpenHands 🙌

@github-actions github-actions Bot requested a review from halbekanne April 14, 2026 14:19
…e case tests

Move URL auto-linking after Jira link syntax handler to prevent
double-wrapping. Remove unnecessary FTP protocol support, dead
lookahead, and code comments. Fix tests to properly extract SafeHtml
and add coverage for code blocks, inline code, bare URL syntax,
trailing punctuation, query params, and fragments.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@halbekanne halbekanne marked this pull request as ready for review April 14, 2026 14:37
@halbekanne halbekanne merged commit b81eb2a into main Apr 14, 2026
3 checks passed
@halbekanne halbekanne deleted the openhands-fix-issue-24 branch April 14, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lange Links in der Ticket-Beschreibung handhaben

2 participants