From f81f0ef9d7bb9b17dc713f6bbd0c9b42b18f8928 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Sat, 22 Oct 2022 19:14:32 +0300 Subject: [PATCH] fix double escape HTML --- 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 53b61949ea..7c3bfd0ff9 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 += ', '; }