From 2eaa2d7cd48402dd84daa5996bf718fce3073cd5 Mon Sep 17 00:00:00 2001 From: ulferts Date: Mon, 2 Mar 2020 16:53:15 +0100 Subject: [PATCH] no longer sanitize before letting full calendar take over We need to provide a simple string, not html to the library. Script tags seem to have no effect --- .../app/modules/calendar/te-calendar/te-calendar.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/modules/calendar/te-calendar/te-calendar.component.ts b/frontend/src/app/modules/calendar/te-calendar/te-calendar.component.ts index 67330346d8e..ebec6069424 100644 --- a/frontend/src/app/modules/calendar/te-calendar/te-calendar.component.ts +++ b/frontend/src/app/modules/calendar/te-calendar/te-calendar.component.ts @@ -510,7 +510,7 @@ export class TimeEntryCalendarComponent implements OnInit, OnDestroy, AfterViewI name += ` - ${this.workPackageName(entry)}`; } - return this.sanitizedValue(name) || '-'; + return name || '-'; } private workPackageName(entry:TimeEntryResource) {