Preview is changing casing of @ mentions


(Sam Saffron) #1

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


(Robin Ward) #2

Fixed here:

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


(Robin Ward) #3