mentions with "-" July 19, 2016, 09:12:29 am 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 – July 21, 2016, 11:00:55 am 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.
Re: mentions with "-" Reply #2 – July 27, 2016, 04:36:06 pm xref http://www.elkarte.net/community/index.php?topic=3898.0
Re: mentions with "-" Reply #3 – September 29, 2016, 11:36:25 am 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 – December 09, 2016, 09:30:51 am 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 #5 – December 09, 2016, 03:07:45 pm This https://github.com/Spuds/Elkarte/commit/3fb8ec7d9fd01fead17b2a7649ef759d64352630 will allow spaces in the mention names (meaning the drop down will not close up when you hit space)
Re: mentions with "-" Reply #7 – August 17, 2017, 12:58:08 am Quote from: emanuele – July 21, 2016, 11:00:55 amhmm... 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...