Emojis get inserted in the wrong location

Yup it was - sorry about that! Here’s a fix and a new test which would have caught this issue:

https://github.com/discourse/discourse/pull/17107

6 Likes