X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fjs%2Fmod_events.js;h=658987bdea236e28e80196ba36faff971768fc5b;hb=8536b313a1eb1c3e11f9ba5317fdcef33118bcb8;hp=5bd7c944986b3fe8db4481b91775ee4416a81ecd;hpb=291906de5f3074407253241e5ccbb5af633e0c22;p=friendica.git diff --git a/view/theme/frio/js/mod_events.js b/view/theme/frio/js/mod_events.js index 5bd7c94498..658987bdea 100644 --- a/view/theme/frio/js/mod_events.js +++ b/view/theme/frio/js/mod_events.js @@ -82,6 +82,9 @@ $(document).ready(function() { trigger: "hover", placement: "auto", template: '
', + sanitizeFn: function (content) { + return DOMPurify.sanitize(content) + }, }); } @@ -127,17 +130,17 @@ function changeView(action, viewName) { function eventHoverBodyTemplate() { var template = '\
\ -
\ -
\ -
\ +
\ +
\ +
\ \ - {5}\ - {6}\ + {5}\ + {6}\ \
\
\ -
{2}
\ -
{4}{3}\ +
{2}
\ +
{4}{3}\ {1}\
\
\ @@ -150,14 +153,15 @@ function eventHoverBodyTemplate() { // The template for presenting the event location in the event hover-card function eventHoverLocationTemplate() { - var template = ' {0}
'; + var template = '\ + {0}
'; return template; } function eventHoverProfileNameTemplate() { var template = '\ -
\ - {1}\ +
\ + {1}\
'; return template; }