Fix MEDIA tag regex absorbing trailing punctuation
Cluster 84361 · apps/desktop. Data as of
Nothing open on GitHub. Fix merged in #127248 on 30 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #127248. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #127248. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address a desktop bug where the MEDIA tag regex incorrectly captures trailing markdown punctuation, breaking file links. Fixes involve trimming punctuation from captures and correcting file URL construction.
Open issues0
Open PRs0
Fixes on record
-
#127248 fix(desktop): trim trailing punctuation from bare MEDIA tag captures and reject degenerate paths
files:
apps/desktop/src/lib/chat-messages/parts.capture.test.ts,apps/desktop/src/lib/chat-messages/parts.ts,apps/desktop/src/lib/media.remote.test.ts,apps/desktop/src/lib/media.ts
1 PR closed without merging
From the close comments: done elsewhere 1
-
#84542 fix(desktop): stop MEDIA tags absorbing trailing markdown punctuation · done elsewhere →
#127248
Closed issues · 1
- Closed#84361[Bug]: Desktop MEDIA: file links dead — tag regex absorbs trailing markdown, and file:// URLs built by string concat
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- apps/desktop
- Merged PRs
- #127248
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 30 Sep 2026