cal.pub0.org/packages/prisma
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
..
client
middleware
migrations Remove event type dupes, assign ownership based on existing _user_eventtype.'B' (#7284) 2023-03-15 15:35:54 +00:00
selects Fix user time format not respected and booking dates not localized on emails (#7682) 2023-03-13 16:49:48 +00:00
zod
.env
delete-app.ts
docker-compose.yml
index.ts
package.json Adds prisma data proxy (#7706) 2023-03-15 20:33:54 +00:00
schema.prisma Seated booking rescheduling. (#5427) 2023-03-14 04:19:05 +00:00
seed-app-store.config.json Fixes formatted description in email (#7696) 2023-03-23 12:00:42 +00:00
seed-app-store.ts feat(app-store): add zohocrm app to app-store (#7182) 2023-03-15 07:50:03 +00:00
seed.ts
zod-utils.ts Seated booking rescheduling. (#5427) 2023-03-14 04:19:05 +00:00