From 7683e37f364d2f40a410842b1e28fe899ff913a5 Mon Sep 17 00:00:00 2001 From: Daniel Wang Date: Mon, 14 May 2018 14:51:33 -0700 Subject: [PATCH] Escape event notes --- src/oncall/ui/static/js/incalendar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/oncall/ui/static/js/incalendar.js b/src/oncall/ui/static/js/incalendar.js index b59a291..8369cce 100644 --- a/src/oncall/ui/static/js/incalendar.js +++ b/src/oncall/ui/static/js/incalendar.js @@ -1428,7 +1428,7 @@ if (evt.note) { return $('
  • ') .append('') - .append('' + (evt.note || "") + '') + .append('' + (Handlebars.Utils.escapeExpression(evt.note) || "") + '') } }) ) @@ -1490,7 +1490,7 @@ .append('') .append( $('
    ') - .append(' ') + .append(' ') ) ) .append(function(){