Changeset fc229f5 in Klonkt for CHANGELOG.md


Ignore:
Timestamp:
07/01/2026 10:20:25 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
e499b71
Parents:
2abd3d2
Message:

fix(fediverse): bracketed mentions/hashtags/URLs link and notify

The mention/hashtag/URL prefix classes required whitespace or '>' before the
token, so "(@user@server)", "(#tag)" and "(https://…)" federated as plain text —
and a bracketed mention's target was never notified (real-world miss on a reply).
Opening brackets are now valid prefixes. Quote characters are deliberately NOT in
the class: a quote precedes attribute values, which must never match.

  • src/services/ActivityPubService.js — prefix class [\s>] → [\s>([{] in linkHashtags, linkUrls, and both mention regexes (scan + per-handle replace).
  • test/url-linkify.test.js — bracketed URL + hashtag link; attribute values stay untouched.
  • CHANGELOG(.nl/.de).md — under Fixed.

Closes prutfolio-src-ovj.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG.md

    r2abd3d2 rfc229f5  
    3535
    3636### Fixed
     37- **Mentions, hashtags and links inside brackets now work.** A mention like `(@user@server)`, a
     38  `(#hashtag)` or a bracketed URL federated as plain text — and the mentioned person was never
     39  notified. They now link (and notify) like their unbracketed forms.
    3740- **Plain web addresses become links on the fediverse.** A bare URL typed in a post or reply now
    3841  federates as a clickable link instead of plain text.
Note: See TracChangeset for help on using the changeset viewer.