# Custom emoji are shown in wrong size when quoted

**URL:** https://meta.discourse.org/t/custom-emoji-are-shown-in-wrong-size-when-quoted/98572
**Category:** Bug
**Created:** [October 2, 2018, 6:58pm UTC](https://meta.discourse.org/t/custom-emoji-are-shown-in-wrong-size-when-quoted/98572 "2018-10-02T18:58:25Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ljpp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ljpp/32/96506_2.png) [@ljpp](https://meta.discourse.org/u/ljpp)
#### Post date: [October 2, 2018, 6:58pm UTC](https://meta.discourse.org/t/custom-emoji-are-shown-in-wrong-size-when-quoted/98572/1 "2018-10-02T18:58:25Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![rizka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rizka/32/79717_2.png) [@rizka](https://meta.discourse.org/u/rizka)
#### Post date: [October 2, 2018, 7:16pm UTC](https://meta.discourse.org/t/custom-emoji-are-shown-in-wrong-size-when-quoted/98572/2 "2018-10-02T19:16:18Z")

</div>

Let’s do some testing.

:discourse:

---

<div class="post-metadata">

### Author: ![rizka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rizka/32/79717_2.png) [@rizka](https://meta.discourse.org/u/rizka)
#### Post date: [October 2, 2018, 7:16pm UTC](https://meta.discourse.org/t/custom-emoji-are-shown-in-wrong-size-when-quoted/98572/3 "2018-10-02T19:16:59Z")

</div>

And here we go. Not nice:

> [@rizka](#):
>
> Let’s do some testing.
> 
> ![:discourse:](https://global.discourse-cdn.com/meta/original/3X/2/4/24c403617cb280357b9fae1c252221199c35567c.png)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [October 3, 2018, 9:48am UTC](https://meta.discourse.org/t/custom-emoji-are-shown-in-wrong-size-when-quoted/98572/4 "2018-10-03T09:48:11Z")

</div>

@maja can you have a look? No rush

---

<div class="post-metadata">

### Author: ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)
#### Post date: [October 15, 2018, 8:37am UTC](https://meta.discourse.org/t/custom-emoji-are-shown-in-wrong-size-when-quoted/98572/6 "2018-10-15T08:37:29Z")

</div>

This is fixed now:

[https://github.com/discourse/discourse/commit/57b52cd1de1b22413011285cd3b0a2c52c16ab83](https://github.com/discourse/discourse/commit/57b52cd1de1b22413011285cd3b0a2c52c16ab83)

---

<div class="post-metadata">

### Author: ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)
#### Post date: [October 15, 2018, 8:37am UTC](https://meta.discourse.org/t/custom-emoji-are-shown-in-wrong-size-when-quoted/98572/7 "2018-10-15T08:37:39Z")

</div>


