main
|
Last change
on this file since fc229f5 was fc229f5, checked in by roboburr <roboburr@…>, 2 months ago |
|
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@…>
|
-
Property mode
set to
100644
|
|
File size:
0 bytes
|
Note:
See
TracBrowser
for help on using the repository browser.