From d545a9e127c70f5fbdf4dfc5d25cb43bb8f892fc Mon Sep 17 00:00:00 2001 From: Nafees Nazik <84864519+G3root@users.noreply.github.com> Date: Tue, 14 Mar 2023 03:33:06 +0530 Subject: [PATCH] Fix save booking title unescaped (#7591) Co-authored-by: Peer Richelsen Co-authored-by: Alex van Andel Co-authored-by: Keith Williams --- apps/web/components/booking/BookingListItem.tsx | 2 +- apps/web/package.json | 1 + packages/core/event.ts | 3 +++ packages/emails/templates/_base-email.ts | 3 ++- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsx index 01a775fbb9..f908d11ddb 100644 --- a/apps/web/components/booking/BookingListItem.tsx +++ b/apps/web/components/booking/BookingListItem.tsx @@ -224,7 +224,7 @@ function BookingListItem(booking: BookingItemProps) { const showRecordingsButtons = (booking.location === "integrations:daily" || booking?.location?.trim() === "") && isPast && isConfirmed; - const title = decodeURIComponent(booking.title); + const title = booking.title; return ( <>