# Emojis in post titles are not rendered in invite-to-topic emails

**URL:** <https://meta.discourse.org/t/emojis-in-post-titles-are-not-rendered-in-invite-to-topic-emails/60663>\
**Category:** Bug\
**Created:** [2017年四月9日 01:19 UTC](https://meta.discourse.org/t/emojis-in-post-titles-are-not-rendered-in-invite-to-topic-emails/60663 "2017-04-09T01:19:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [2017年四月9日 01:19 UTC](https://meta.discourse.org/t/emojis-in-post-titles-are-not-rendered-in-invite-to-topic-emails/60663/1 "2017-04-09T01:19:01Z")

</div>

Emojis in post titles are not rendered in invite to topic emails. They should probably simply be escaped when rendering the email.

I suppose this is basically the same issue as has been reported here years ago [here](https://meta.discourse.org/t/emojis-in-whats-new-email/34497) so that it might be worth checkking all email templates for similar issues.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年四月9日 03:47 UTC](https://meta.discourse.org/t/emojis-in-post-titles-are-not-rendered-in-invite-to-topic-emails/60663/2 "2017-04-09T03:47:38Z")

</div>

There are a number of places where we have seriously regressed on converting text emoji to Unicode emoji cc @techAPJ I also noticed this in recent email summaries @neil.

---

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [2017年四月10日 17:20 UTC](https://meta.discourse.org/t/emojis-in-post-titles-are-not-rendered-in-invite-to-topic-emails/60663/3 "2017-04-10T17:20:08Z")

</div>

I made a fix for topic titles in emails today. I thought we were already doing it, but it doesn’t look like it…

---

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [2017年四月10日 18:13 UTC](https://meta.discourse.org/t/emojis-in-post-titles-are-not-rendered-in-invite-to-topic-emails/60663/4 "2017-04-10T18:13:05Z")

</div>

I just pushed a fix that will render emoji in topic title on “topic unsubscribe” page and google crawler (JavaScript disabled) version.

---

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [2017年四月12日 09:00 UTC](https://meta.discourse.org/t/emojis-in-post-titles-are-not-rendered-in-invite-to-topic-emails/60663/18 "2017-04-12T09:00:48Z")

</div>

Pushed a fix to render unicode emoji in `title` tag on topic page:

[https://github.com/discourse/discourse/commit/1c1b36ad143978a28cf9e4c6ac1a7422a0d09e99](https://github.com/discourse/discourse/commit/1c1b36ad143978a28cf9e4c6ac1a7422a0d09e99)

Closing this topic now. Feel free to flag this post if anyone notice any more oddity in emoji rendering.

---

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [2017年四月12日 09:00 UTC](https://meta.discourse.org/t/emojis-in-post-titles-are-not-rendered-in-invite-to-topic-emails/60663/19 "2017-04-12T09:00:55Z")

</div>


