😿 Emoji's in title shown as code on initial load of a topic page

(Stephen Chung) #1

Steps to Reproduce

  1. Load meta.discourse.org (Refresh)

  2. Click on any topic with an emoji in the title

  3. Look at the tab title – emoji as code

Note: Reloading content via XHR sets the emoji correctly. It is only with a fresh load that the emoji code appears (e.g. from clicking on a notification link jumping directly to a topic).

(Jeff Atwood) #2

Is this related to your recent title fix @sam?

(Sam Saffron) #4

Yeah something is off… bumps

(Sam Saffron) #6

This is fixed per:

Note to @team this also adds proper support for String#match? which is available in 2.4 Ruby and backported to 2.3, be sure to use that when checking if a string matches a regex, it is faster than =~ cause it does not need to keep track of a pile of globals.

(Sam Saffron) #7

This topic was automatically closed after 26 hours. New replies are no longer allowed.