Merge pull request #3519 from dmitrylyzo/fix-escapehtml
Escape HTML (cherry picked from commit ef811e699ca4473b2548badb6295256bccb82ea9) Signed-off-by: crobibero <cody@robibe.ro>
This commit is contained in:
parent
a74ddbb5ca
commit
7ec51f111c
6 changed files with 8 additions and 7 deletions
|
@ -39,7 +39,7 @@ function reload(page) {
|
|||
$('.monitorUsers', page).hide();
|
||||
}
|
||||
|
||||
$('.notificationType', page).html(escapeHtml(typeInfo.Name) || 'Unknown Notification');
|
||||
$('.notificationType', page).html(escapeHtml(typeInfo.Name || '') || 'Unknown Notification');
|
||||
|
||||
if (!notificationConfig) {
|
||||
notificationConfig = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue