diff --git a/src/components/remotecontrol/remotecontrol.js b/src/components/remotecontrol/remotecontrol.js
index 64201aa3aa..fa08355039 100644
--- a/src/components/remotecontrol/remotecontrol.js
+++ b/src/components/remotecontrol/remotecontrol.js
@@ -146,7 +146,7 @@ function updateNowPlayingInfo(context, state, serverId) {
if (item.Artists != null) {
if (item.ArtistItems != null) {
for (const artist of item.ArtistItems) {
- artistsSeries += `${escapeHtml(artist.Name)}`;
+ artistsSeries += `${escapeHtml(artist.Name)}`;
if (artist !== item.ArtistItems.slice(-1)[0]) {
artistsSeries += ', ';
}
@@ -164,7 +164,7 @@ function updateNowPlayingInfo(context, state, serverId) {
}
}
if (item.Album != null) {
- albumName = '` + escapeHtml(item.Album) + '';
+ albumName = '` + escapeHtml(item.Album) + '';
}
context.querySelector('.nowPlayingAlbum').innerHTML = albumName;
context.querySelector('.nowPlayingArtist').innerHTML = artistsSeries;
@@ -172,12 +172,12 @@ function updateNowPlayingInfo(context, state, serverId) {
} else if (item.Type == 'Episode') {
if (item.SeasonName != null) {
const seasonName = item.SeasonName;
- context.querySelector('.nowPlayingSeason').innerHTML = '${escapeHtml(seasonName)}`;
+ context.querySelector('.nowPlayingSeason').innerHTML = '${escapeHtml(seasonName)}`;
}
if (item.SeriesName != null) {
const seriesName = item.SeriesName;
if (item.SeriesId != null) {
- context.querySelector('.nowPlayingSerie').innerHTML = '${escapeHtml(seriesName)}`;
+ context.querySelector('.nowPlayingSerie').innerHTML = '${escapeHtml(seriesName)}`;
} else {
context.querySelector('.nowPlayingSerie').innerText = seriesName;
}
diff --git a/src/controllers/itemDetails/index.js b/src/controllers/itemDetails/index.js
index 86ebf163be..b5cd1848e2 100644
--- a/src/controllers/itemDetails/index.js
+++ b/src/controllers/itemDetails/index.js
@@ -1318,7 +1318,7 @@ function renderTags(page, item) {
serverId: item.ServerId
});
tagElements.push(
- ``
+ ``
+ escapeHtml(tag)
+ ''
);