๐Ÿ˜ฟ Emoji's in title shown as code on initial load of a topic page

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


Is this related to your recent title fix @sam?

Yeah something is offโ€ฆ bumps


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.


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