cal.pub0.org/packages/ui
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
..
components Fixes formatted description in email (#7696) 2023-03-23 12:00:42 +00:00
form fix: remove items-center and add fle x shrink (#7624) 2023-03-09 11:53:26 +00:00
styles Cleaning up storybook files (#5290) 2022-11-04 15:40:46 +00:00
index.tsx Team Workflows (#7038) 2023-02-27 12:54:43 +05:30
package.json Upgrade react-select (#7824) 2023-03-20 11:18:23 +00:00
tsconfig.json