mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Escape HTML
This commit is contained in:
parent
08cbc5aa8f
commit
59adbc348a
60 changed files with 245 additions and 192 deletions
|
@ -5,6 +5,7 @@
|
|||
* @module components/listview/listview
|
||||
*/
|
||||
|
||||
import escapeHtml from 'escape-html';
|
||||
import itemHelper from '../itemHelper';
|
||||
import mediaInfo from '../mediainfo/mediainfo';
|
||||
import indicators from '../indicators/indicators';
|
||||
|
@ -203,7 +204,7 @@ import ServerConnections from '../ServerConnections';
|
|||
} else {
|
||||
html += '<h2 class="listGroupHeader">';
|
||||
}
|
||||
html += itemGroupTitle;
|
||||
html += escapeHtml(itemGroupTitle);
|
||||
html += '</h2>';
|
||||
|
||||
html += '<div>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue