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({
|
$target.popover({
|
||||||
placement: 'top',
|
placement: 'top',
|
||||||
title: info.event.title,
|
title: App.Utils.String.escapeHtml(info.event.title),
|
||||||
content: $html,
|
content: $html,
|
||||||
html: true,
|
html: true,
|
||||||
container: '#calendar',
|
container: '#calendar',
|
||||||
|
|
|
@ -1406,7 +1406,7 @@ App.Utils.CalendarTableView = (function () {
|
||||||
|
|
||||||
$target.popover({
|
$target.popover({
|
||||||
placement: 'top',
|
placement: 'top',
|
||||||
title: info.event.title,
|
title: App.Utils.String.escapeHtml(info.event.title),
|
||||||
content: $html,
|
content: $html,
|
||||||
html: true,
|
html: true,
|
||||||
container: '#calendar',
|
container: '#calendar',
|
||||||
|
|
Loading…
Reference in a new issue