You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
````````````````````````````````
```````````````````````````````` example
This is an @123mention
.
<p>This is an <span data-mention-name="123mention" /></p>
AS-IS
TO-BE
If you need anything, just let me know ;)
The text was updated successfully, but these errors were encountered:
@amyblais Thanks for reply. I reproduced this issue on mattermost community server. It is same.
Before
After
cyberjam
changed the title
When a username that starts with a number is mentioned, @<username> is displayed.
When a username that starts with a number is mentioned, fullname isn't displayed.
Jan 15, 2024
Summary
When a username that starts with a number is mentioned, the fullname doesn't appear. Only
@<username>
is displayed.Environment Information
Steps to reproduce
Mention a username that starts with a number.
Expected behavior
When mentioning
@123username
that starts with a number,@fullname
should be displayed.Observed behavior (that appears unintentional)
Possible fixes
mattermost>commonmark.js>lib>inlines.js
mattermost>commonmark.js>dist>commonmark.js
var reAtMention = /^@([a-z][a-z0-9._-]*)/i;
var reAtMention = /^@([a-z0-9][a-z0-9._-]*)/i;
If you need anything, just let me know ;)
The text was updated successfully, but these errors were encountered: