1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

escaped ExternalUrls with escapeHtml()

This commit is contained in:
Felix Oswald 2022-03-19 11:26:03 +01:00
parent 2521b06142
commit 659657b62d
No known key found for this signature in database
GPG key ID: EE45798131E279DE

View file

@ -747,7 +747,7 @@ function renderLinks(page, item) {
if (item.ExternalUrls) {
for (const url of item.ExternalUrls) {
links.push(`<a is="emby-linkbutton" class="button-link" href="${url.Url}" target="_blank">${url.Name}</a>`);
links.push(`<a is="emby-linkbutton" class="button-link" href="${url.Url}" target="_blank">${escapeHtml(url.Name)}</a>`);
}
}