diff --git a/components/text.js b/components/text.js index 4be86e54..c65a7396 100644 --- a/components/text.js +++ b/components/text.js @@ -200,8 +200,10 @@ export default memo(function Text ({ rel, imgproxyUrls, children, tab, itemId, o ) } if (text.startsWith?.('@')) { + // user mention might be within a markdown link like this: [@user foo bar](url) + const name = text.replace('@', '').split(' ')[0] return ( - +