mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Escape device id in raw HTML.
This commit is contained in:
parent
dbf4e8e3cf
commit
60d3859a2f
2 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
const BASE_DEVICE_IMAGE_URL = 'assets/img/devices/';
|
||||
|
||||
// audit note: this module is expected to return safe text for use in HTML
|
||||
function getWebDeviceIcon(browser) {
|
||||
switch (browser) {
|
||||
case 'Opera':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue