Closed Tagging users with square brackets

b94

Member
Licensed customer
Affected version
2.1.14
I believe it's not possible to tag users using square brackets in their names, is this a bug? For reproduction purposes, i've tried creating the user on [test] on this forum but it has not yet been accepted.

Using the [user] bbcode does work, but does not have great UX.

With the Froala editor, escaping the [ with a \ seems to work in the autocomplete but tagging/mentioning does not appear to work, making this subtly different from https://xenforo.com/community/threa...re-the-username-contains-an-character.170626/
 
The editor in 2.2 doesn't appear to work with the escape trick, so I can't have my [test] user show up in the tagging autocomplete here at all.

Testing with manual BBCode, appears to work: @[test], but does not trigger any notifications for this user so is not functionally equivalent.
 
Last edited:
Automated triage: Design issue

Thank you for reporting this issue. Mentions are only recognised when the text after the @ does not start with a square bracket, because @[ is reserved for another mention format. So names beginning with [ are not picked up as mentions, and hand-typed user tags don't send notifications. Earlier reports of this were closed as a design issue, and that behaviour has not changed.

This is an automated assessment. A member of staff may review and update it.
 
Back
Top Bottom