Changeset fc229f5 in Klonkt for test/inbound-mentions.test.js

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@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.