Escape the popover title for special HTML characters.
This commit is contained in:
parent
87a114af9c
commit
2255c84778
2 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue