this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert "Don't highlight mention when it's prepended by a dot"

This reverts commit 5fef0b3fb5a530921ca0c3d895f8b2b4b0fea70c.

+1 -1
+1 -1
src/components/compose.jsx
··· 108 108 // https://github.com/mastodon/mastodon/blob/c03bd2a238741a012aa4b98dc4902d6cf948ab63/app/models/account.rb#L69 109 109 const USERNAME_RE = /[a-z0-9_]+([a-z0-9_.-]+[a-z0-9_]+)?/i; 110 110 const MENTION_RE = new RegExp( 111 - `(^|[^=\\/\\w.])(@${USERNAME_RE.source}(?:@[\\p{L}\\w.-]+[\\w]+)?)`, 111 + `(^|[^=\\/\\w])(@${USERNAME_RE.source}(?:@[\\p{L}\\w.-]+[\\w]+)?)`, 112 112 'uig', 113 113 ); 114 114