Custom emoji are shown in wrong size when quoted

If one quotes a custom emoji, it is enlarged to a very big size. The root cause is that…

class="emoji emoji-custom"

…is dropped when quoted.

Reproed on 2.1 stable using a number of devices of various OS platforms. Cannot repro on Try, as there are no custom emoji present.

4 Likes

Let’s do some testing.

:discourse:

1 Like

And here we go. Not nice:

3 Likes

@maja can you have a look? No rush

1 Like

This is fixed now:

https://github.com/discourse/discourse/commit/57b52cd1de1b22413011285cd3b0a2c52c16ab83

11 Likes