From 239bbfbbf1c8b0598202fce63337725df5d6eee1 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Thu, 27 Oct 2022 00:13:41 -0400 Subject: [PATCH] Backport pull request #4089 from jellyfin/release-10.8.z Fix double escape HTML Original-merge: aa009091d53350aa732c977ddc8d14e801914f28 Merged-by: Bill Thornton Backported-by: Bill Thornton --- src/components/remotecontrol/remotecontrol.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/remotecontrol/remotecontrol.js b/src/components/remotecontrol/remotecontrol.js index b7f6e0532..f7efa0b47 100644 --- a/src/components/remotecontrol/remotecontrol.js +++ b/src/components/remotecontrol/remotecontrol.js @@ -145,9 +145,7 @@ function updateNowPlayingInfo(context, state, serverId) { if (item.Artists != null) { if (item.ArtistItems != null) { for (const artist of item.ArtistItems) { - const artistName = escapeHtml(artist.Name); - const artistId = artist.Id; - artistsSeries += `${escapeHtml(artistName)}`; + artistsSeries += `${escapeHtml(artist.Name)}`; if (artist !== item.ArtistItems.slice(-1)[0]) { artistsSeries += ', '; }