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 Upgrade prisma to 4.11.0 version (#7438) 2023-02-28 14:15:50 -07:00
middleware Fixes formatting issues with lists in event type description and bio (#7505) 2023-03-04 00:20:13 +01:00
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 Circular dependecy hotfix 2023-01-06 13:15:34 -07:00
.env Adds symlink to use DATABASE_URL from root 2022-08-12 11:23:30 -06:00
delete-app.ts One jest to rule them all (#3957) 2022-08-29 22:33:53 +00:00
docker-compose.yml Revert "Matches postgres image across projects" 2022-12-22 17:11:31 -07:00
index.ts Event description now supports markdown formatting (#3688) 2022-08-05 18:44:30 +00:00
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 feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
zod-utils.ts Seated booking rescheduling. (#5427) 2023-03-14 04:19:05 +00:00