Skip to main content
Topic: mentions with "-" (Read 3113 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

mentions with "-"

A mention @username is not working if the username has a "-" in it. I have a user called Holger-Timm. The mention in the editor finds the username, I click on it, but when the post is saved only the first part of the username is a hyperlink and leads to another profile (the one of Holger, but not of Holger-Timm).

Re: mentions with "-"

Reply #1

hmm... interesting.
In theory it should work, but probably in practice there is some regex somewhere that doesn't consider the - as a valid character... I feel, but I may be wrong.
Bugs creator.
Features destroyer.
Template killer.


Re: mentions with "-"

Reply #3

Why don't we just include all characters? I don't see an issue. You can always close the dialog for the user tagging and it has to start with an @

Re: mentions with "-"

Reply #4

We might include spaces in usernames as well.  Specifically a user has a space as the second character, if that helps.   ;)


Re: mentions with "-"

Reply #6

Many thanks Spuds!  :)

Re: mentions with "-"

Reply #7

Quote from: emanuele – hmm... interesting.
In theory it should work, but probably in practice there is some regex somewhere that doesn't consider the - as a valid character... I feel, but I may be wrong.

Still having the issue...  :(

 

Re: mentions with "-"

Reply #8

Yep, it was not fixed. :P
Bugs creator.
Features destroyer.
Template killer.