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',