When embedding a post into social networks, emojies makes no sense, especially in non-English text

(Anton) #1

Please take a look at the following screenshot - I’m trying to embed a topic into VK.com, a well-known Russian-speaking social network:

Both in the title and in the topic body, there are text versions of emoji, e.g. [sparkling_heart].

It does not make any sense and it looks weird. Can we remove these text versions of emoji icons, as whenever I embed topics, it really makes no sense, especially for topics in Russian. Also, it spoils the first few sentences, which makes the text not attractive at all.

(Jeff Atwood) #2

Hmm, I could see a case for stripping Emoji from the embed content. Did you want to submit a PR for it?

(Anton) #3

Would happily do, but I’m not familiar with Ruby nor have Discourse dev environment installed to try fixing this.

(Sam Saffron) #4

Another possibility is converting to the proper unicode code point. A lot of stuff these days has native emoji support.

(Jeff Atwood) #5

The emoji words are now stripped from slugs as well.

(Jeff Atwood) #6