Mentions autocomplete does not work properly with @
as instance separator
#2652
Labels
bug
Something isn't working
@
as instance separator
#2652
Requirements
Summary
When only a single
@
is used, autocompleting usernames for mentions works and the text is replaced as desired.When a second
@
is added at the end to indicate the end of the username, which separates the username from the instance name, this gets treated as the start of the mention once again, rather than extending the previous mention autocomplete.Raised from https://sh.itjust.works/comment/13097608
Steps to Reproduce
@threelon
in a comment@[email protected]
[@[email protected]](https://sh.itjust.works/u/threelonmusketeers)
@threelonmusketeers@
@
instead of the first one[@[email protected]](https://sh.itjust.works/u/threelonmusketeers)
in the place of the second@
, leaving@threelonmusketeers[@[email protected]](https://sh.itjust.works/u/threelonmusketeers)
as the full text@threelonmusketeers@sh
@
Technical Details
Firefox 128.0.3
Lemmy Instance Version
0.19.5
Lemmy Instance URL
https://voyager.lemmy.ml
The text was updated successfully, but these errors were encountered: