Preview is changing casing of @ mentions

New @mention matcher is always lower casing usernames in preview. (baked is unaffected)

So:

@sam @Sam @SAM

looks like

@sam @sam @sam

in preview.

This is particularly problematic for usernames with upper case letters like DeFUCC etc.

cc @eviltrout

6 Likes

Fixed here:

https://github.com/discourse/discourse/commit/e4085a64ce875399cf3b3d86eb93a880fba61f32

4 Likes