Máximo de emojis no título definido como 0 - conflitando com atalhos de emojis

Não tenho certeza se isso se qualifica como um bug, é um problema bem menor, mas vale a pena dar uma olhada:

No nosso fórum, temos max emojis in title definido como 0, mas notei que um ainda está sendo exibido em uma nova postagem. Ao examinar o texto real do título postado, vejo que o usuário digitou :), então ele deve ter sido convertido automaticamente.

Estou supondo que isso seja um conflito com a configuração enable emoji shortcuts, e a conversão de emoticon > emoji pode precisar ser restrita apenas nos títulos, levando em consideração a configuração max emojis in title.

6 curtidas

I am not sure about auto conversion of shortcuts in title at all. But the failure mode here does not feel right regardless.

We should either say:

You are not allowed to include any emojis in your title

Or special case it so when this is 0 we simply bypass all emoji unescape for titles.

My vote here:

  1. If it is set to 0, we special case it so there is no emoji unescape for titles, do no emoji count validation on save.

  2. We confirm that we properly count :) conversions to emoji so you can not bypass default of 1 with :) :) :)

@techAPJ not urgent to sort this out but please add to your list.

6 curtidas

Special casing emoji unescape for titles required changes in many places in our codebase so for now I improved emoji validation so we properly count emoji shortcuts :), and improved the error message when emoji is disabled in titles.

7 curtidas