Escape HTML
This commit is contained in:
@@ -79,7 +79,7 @@ import ServerConnections from '../../components/ServerConnections';
|
||||
|
||||
const text = button.querySelector('.button-text');
|
||||
if (text) {
|
||||
text.innerHTML = button.title;
|
||||
text.innerText = button.title;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user