Escape HTML
This commit is contained in:
@@ -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>';
|
||||
|
||||
Reference in New Issue
Block a user