# Large emojis in post preview of bookmarks

**URL:** https://meta.discourse.org/t/large-emojis-in-post-preview-of-bookmarks/296815
**Category:** UX
**Tags:** emoji, bookmarks, fixed, bug
**Created:** [February 26, 2024, 10:46pm UTC](https://meta.discourse.org/t/large-emojis-in-post-preview-of-bookmarks/296815 "2024-02-26T22:46:56Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [February 26, 2024, 10:46pm UTC](https://meta.discourse.org/t/large-emojis-in-post-preview-of-bookmarks/296815/1 "2024-02-26T22:46:56Z")

</div>

Steps to reproduce:

1. Bookmark an #official plugin or theme component (It works with some non-official ones too)
2. Visit [https://meta.discourse.org/my/activity/bookmarks](https://meta.discourse.org/my/activity/bookmarks)

 ![large emojis](https://global.discourse-cdn.com/meta/original/4X/4/e/c/4ecb3eea1a4b8b548f26521b89e25e60df753f52.png)

I think small emojis would fit better.

 ![small emojis](https://global.discourse-cdn.com/meta/original/4X/1/3/9/139a060e1e9c5a5de6daff330b697c88a6a1e18f.png)

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [July 30, 2025, 8:49pm UTC](https://meta.discourse.org/t/large-emojis-in-post-preview-of-bookmarks/296815/2 "2025-07-30T20:49:25Z")

</div>

Just a bump on this as its still present now.

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/2/a/42a07d99c01b9b7534879b7843673374e05a4f77.png)

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [July 31, 2025, 12:08pm UTC](https://meta.discourse.org/t/large-emojis-in-post-preview-of-bookmarks/296815/3 "2025-07-31T12:08:21Z")

</div>

@renato I was about to apply a CSS fix but those emoji’s actually get a class `only-emoji` they should not have.

I’ve found this from 5y ago

[https://github.com/discourse/discourse/commit/948bd00340d12fdd68aec06fee8eccd21d35b7e9](https://github.com/discourse/discourse/commit/948bd00340d12fdd68aec06fee8eccd21d35b7e9)

But with the recent changes with prosemirror, I _think_ things may have changed?

Anyway, would prefer to properly fix it instead of applying a CSS bandaid.

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [August 8, 2025, 3:47am UTC](https://meta.discourse.org/t/large-emojis-in-post-preview-of-bookmarks/296815/5 "2025-08-08T03:47:01Z")

</div>

This isn’t to do with the editor, it’s to do with the post excerpts. For this list we use:

> <https://github.com/discourse/discourse/blob/853b60080c0eaea3c347e8d707ca3a8460053519/app/serializers/post_item_excerpt.rb#L12-L15>

And because the OP of these theme topics have tables, those get stripped out, and we end up with this kind of thing:

```plaintext
:discourse2:
Summary
Topic Cards restyle the topic list to display as cards with a thumbnail

<img src="//localhost:4200/images/emoji/twitter/eyeglasses.png?v=14" title=":eyeglasses:" class="emoji only-emoji" alt=":eyeglasses:" loading="lazy" width="20" height="20">
Preview
<a href="https://discourse.theme-creator.io/theme/Discourse/topic-cards">Preview on Discourse Theme Creator</a>

<img src="//localhost:4200/images/emoji/twitter/hammer_and_wrench.png?v=14" title=":hammer_and_wrench:" class="emoji only-emoji" alt=":hammer_and_wrench:" loading="lazy" width="20" height="20">
Repository
<a href="https://github.com/discourse/discourse-topic-cards">https://github.com/discourse/discourse-topic-cards</a>

<img src="//localhost:4200/images/emoji/twitter/open_book.png?v=14" title=":open_book:" class="emoji only-emoji" alt=":open_book:" loading="lazy" width="20" height="20">
New to Discourse Themes?
<a href="https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966">Beginner’s guide to using Discourse Themes</a>

Wow topic

```

So technically the `only-emoji` is correct here, but practicallly it’s wrong. I think this could be fairly tricky to fix…maybe we need a `no_big_emoji` option for `PrettyText.cook`…but IDK for sure.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [September 23, 2025, 6:03pm UTC](https://meta.discourse.org/t/large-emojis-in-post-preview-of-bookmarks/296815/8 "2025-09-23T18:03:12Z")

</div>

fixed in

[https://github.com/discourse/discourse/pull/34924](https://github.com/discourse/discourse/pull/34924)

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [September 29, 2025, 2:00pm UTC](https://meta.discourse.org/t/large-emojis-in-post-preview-of-bookmarks/296815/10 "2025-09-29T14:00:54Z")

</div>

This topic was automatically closed after 5 days. New replies are no longer allowed.
