mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix - Logo should say "Lighting" not "Lightning" (#1510)
* Fix #1505 - Logo should say "Lighting" not "Lightning" * Address LGTM findings * Specify an image theme using html, as fragmented approach
This commit is contained in:
@@ -889,7 +889,11 @@ function createTableRow(list, head, align) {
|
||||
if (align)
|
||||
el.style.verticalAlign = "middle";
|
||||
|
||||
el.innerHTML = list[i];
|
||||
var purifyConfig = {
|
||||
ADD_TAGS: ['button'],
|
||||
ADD_ATTR: ['onclick']
|
||||
};
|
||||
el.innerHTML = DOMPurify.sanitize(list[i], purifyConfig);
|
||||
row.appendChild(el);
|
||||
}
|
||||
return row;
|
||||
|
Reference in New Issue
Block a user