Large emojis in post preview of bookmarks

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

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

: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.

1 Like