cal.pub0.org/apps/web/pages/[user]
Carina Wollendorfer f6d7568d0a
Fixes formatted description in email (#7696)
* fix description in email

* add styling for lists

* sanitize editor input before saving

* sanitize eventTypeDescription

* santize html when used dangerouslySetInnerHTML

* fix server side sanitation

* add missing formatting and sanitation

* move @ts-expect-error to correct line

* fix type error and add yarn.lock

* fix build error

* sanitize description for booking page and availability page

* rename to markdownAndSanitize

* always add list formatting

* handle empty description in markdownAndSanitize for cleaner code

* create function for clientside markdown rendering and sanitizing

* fix type error

* code clean up

* Now that eventType.descriptionAsSafeHTML is added at all the missing places, we can do away with ts-ignore and get type safety

* Remove unused variable

* Remove one more ts-expect-error

---------

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-03-23 12:00:42 +00:00
..
[type] Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
calendar-cache Amend logic to figure out the months between dates (#7289) 2023-02-22 14:36:30 -07:00
[type].tsx Fixes formatted description in email (#7696) 2023-03-23 12:00:42 +00:00
book.tsx Fixes formatted description in email (#7696) 2023-03-23 12:00:42 +00:00
embed.tsx The links that can be directly given to embed should pre-render(Either SSG/SSR) (#4975) 2022-10-19 21:25:03 +00:00