Fix issue #24: Lange Links in der Ticket-Beschreibung handhaben#28
Merged
Conversation
…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
approved these changes
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
JiraMarkupPipenow automatically converts plain URLs (http/https/ftp) into clickable links with proper HTML attributes (target="_blank",rel="noopener noreferrer", andclass="jira-link"). The CSS for.jira-linkincludesword-break: break-allandoverflow-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 thejiraMarkuppipe, including ticket descriptions, comments, and PR descriptions, fully addressing the requirements for clickable and properly wrapped links.Automatic fix generated by OpenHands 🙌