mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix: Escape HTML
This commit is contained in:
parent
b4fce063b0
commit
9338dd082b
6 changed files with 8 additions and 7 deletions
|
@ -949,7 +949,7 @@ import ServerConnections from '../ServerConnections';
|
|||
|
||||
}, item.ChannelName));
|
||||
} else {
|
||||
lines.push(escapeHtml(item.ChannelName) || ' ');
|
||||
lines.push(escapeHtml(item.ChannelName || '') || ' ');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -981,7 +981,7 @@ import ServerConnections from '../ServerConnections';
|
|||
if (item.RecordAnyChannel) {
|
||||
lines.push(globalize.translate('AllChannels'));
|
||||
} else {
|
||||
lines.push(escapeHtml(item.ChannelName) || globalize.translate('OneChannel'));
|
||||
lines.push(escapeHtml(item.ChannelName || '') || globalize.translate('OneChannel'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue