Skip to content

Scheduling infrastructure for absolutely everyone.

fix(apps/web): update description formatting in bookings single view to preserve whitespace (#24440)

Yadong (Adam) Zhang5a483e75c905
diff --git a/apps/web/modules/bookings/views/bookings-single-view.tsx b/apps/web/modules/bookings/views/bookings-single-view.tsx
index d38b9958664..3317f24999a 100644
--- a/apps/web/modules/bookings/views/bookings-single-view.tsx
+++ b/apps/web/modules/bookings/views/bookings-single-view.tsx
@@ -694,7 +694,7 @@ export default function Success(props: PageProps) {
<>
<div className="mt-9 font-medium">{t("additional_notes")}</div>
<div className="col-span-2 mb-2 mt-9">
- <p className="break-words">{bookingInfo.description}</p>
+ <p className="whitespace-pre-line break-words">{bookingInfo.description}</p>
</div>
</>
)}