podlove / podlove-web-player

Podlove Web Player is a Podcast-optimized, HTML5-based audio player based on VueJS.
https://docs.podlove.org/podlove-web-player/
Other
354 stars 69 forks source link

Emojis not displayed properly #935

Closed Guacam-Ole closed 4 years ago

Guacam-Ole commented 4 years ago

[Podlove Player 5]

When the title of the episode contains Emojis they are not displayed properly in the Podlove Web Player. Example: Episode

The Title displayed is grafik

but should have been

Blathering – 136 – 🚶 👩 👨 📷 📺

(tested in firefox, chrome and opera)

alexander-heimbuch commented 4 years ago

First of all, the player has moved to a different repo, this only contains the documentation.

The player is totally capable of rendering emojis. In your case the received configuration already contains the encoded emojis:

{
  "title: "Blathering - 136 - 🚶 👩 👨 📷 📺"
}

So my guess is that the Publisher already encodes the title.

Guacam-Ole commented 4 years ago

It looks like the "&" is encoded as "&amp" which seems to cause the behaviour. The source of the .episode-title element looks like this:

Blathering - 136 - 🚶 👩 👨 📷 📺

but should be without the "amp;" imho

(sorry to bother. Will create a new issue on the new repo instead if this makes more sense)

When switching to the (outdated) "Podlove Web Player 3" the title is displayed correctly