X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fjs%2Fmod_events.js;h=00e3f4fa9f129ff26cdf1750301b665ccbc96b02;hb=d09b3f5bdeae444f785f6283e55dbf2f61caadac;hp=5bd7c944986b3fe8db4481b91775ee4416a81ecd;hpb=8e12b159d947fb27ad6bdd5e06e3a90c1713687e;p=friendica.git diff --git a/view/theme/frio/js/mod_events.js b/view/theme/frio/js/mod_events.js index 5bd7c94498..00e3f4fa9f 100644 --- a/view/theme/frio/js/mod_events.js +++ b/view/theme/frio/js/mod_events.js @@ -1,6 +1,6 @@ /** * @file view/theme/frio/js/mod_events.js - * @brief Initialization of the fullCalendar and format the output. + * Initialization of the fullCalendar and format the output. */ $(document).ready(function() { @@ -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; }