Escape the popover title for special HTML characters.

This commit is contained in:
Alex Tselegidis 2023-04-05 15:38:17 +02:00
parent 87a114af9c
commit 2255c84778
2 changed files with 2 additions and 2 deletions

View File

@ -734,7 +734,7 @@ App.Utils.CalendarDefaultView = (function () {
$target.popover({
placement: 'top',
title: info.event.title,
title: App.Utils.String.escapeHtml(info.event.title),
content: $html,
html: true,
container: '#calendar',

View File

@ -1406,7 +1406,7 @@ App.Utils.CalendarTableView = (function () {
$target.popover({
placement: 'top',
title: info.event.title,
title: App.Utils.String.escapeHtml(info.event.title),
content: $html,
html: true,
container: '#calendar',