Skip to content

#497: Hover popup: bare URLs styled as links but not registered as clickable - #503

Merged
JDonaghy merged 7 commits into
developfrom
issue-497-hover-popup-bare-urls-styled-as-links-bu
May 20, 2026
Merged

#497: Hover popup: bare URLs styled as links but not registered as clickable#503
JDonaghy merged 7 commits into
developfrom
issue-497-hover-popup-bare-urls-styled-as-links-bu

Conversation

@JDonaghy

Copy link
Copy Markdown
Owner

Automated PR opened by coordinator for review of issue #497.

JDonaghy and others added 7 commits March 29, 2026 19:50
Release v0.8.0 — Windows + Flatpak fixes
Release 0.10.0 + quadraui design freeze
…ckable

- markdown.rs: scan_bare_urls() scans plain-text chunks for http:// /
  https:// patterns, strips trailing punctuation (.,)) and emits
  MdStyle::LinkUrl spans so bare URLs render and click like markdown links
- panels.rs: extract_hover_links() now handles standalone LinkUrl spans
  (bare URLs and the URL-display portion of markdown links) in addition to
  the existing Link+LinkUrl pairs, registering both as clickable regions
- tests.rs: four new tests covering bare URL span detection, trailing
  punctuation stripping, click region registration, and preservation of
  existing markdown link behaviour

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant