Upgrade to 1.6.0.beta12 resulted in emoji showing as <img> tags in polls

As you can see in this image:

the :frowning: emoji has been replaced by the HTML <img> tag in its raw form. Interestingly, when viewing the results, all appears as it should.

Is the new poll UI maybe constructing its elements using innerText?

3 Likes

For you to look at @tgxworld

Hi @barryvan Please upgrade to latest. This should have been fixed in
https://github.com/discourse/discourse/commit/1171936850ee31c6a4a535dd20d572e49c0ae07b

Has it been fixed?

  • Yes :allthethings:
  • No :sadpanda:

0 voters

6 Likes

Looks like I’m already on latest…? How often will my Discourse instance poll (ha!) for a new release?

From the code it looks like it checks everytime you load the page.

Let me know if the polls image is still an issue for you? :slight_smile:

3 Likes

I think I must be missing something – my /admin page says that I have v1.6.0.beta12 +55 installed and that it’s the latest. :slight_smile:

That is indeed the latest beta, but there are commits that you can still pick up by manually going to /admin/upgrade and having it upgrade (hence the +55 – you have 55 commits in additional to beta12)

5 Likes

Thanks @cpradio. Got those commits from /admin/upgrade and it looks like @tgxworld’s fix has come through! :smiley:

3 Likes