File tree Expand file tree Collapse file tree
components/event-schedule-new/event Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import { Separator } from "lib/components/ui/separator";
1616import { useDraggableLink } from "lib/hooks/useDraggableLink" ;
1717import { DifficultyTag , TypeTag } from "../calendar.components" ;
1818import VoxelButton from "lib/components/voxel-button/button" ;
19+ import { convert } from "html-to-text" ;
1920
2021type EventProps = {
2122 event : EventType ;
@@ -240,7 +241,7 @@ const Event: React.FC<EventProps> = ({
240241 ))} */ }
241242 { /* </div> */ }
242243
243- < div className = "text-sm" > { event . description } </ div >
244+ < div className = "text-sm" > { convert ( event . description ) } </ div >
244245
245246 { /* <Link href={event.eventLink} className="self-start">
246247 <VoxelButton
Original file line number Diff line number Diff line change 2020 "clsx" : " ^2.1.1" ,
2121 "date-fns" : " ^4.1.0" ,
2222 "framer-motion" : " 12.0.0-alpha.1" ,
23+ "html-to-text" : " ^9.0.5" ,
2324 "input-otp" : " ^1.2.4" ,
2425 "lucide-react" : " ^0.511.0" ,
2526 "moment" : " ^2.29.1" ,
3031 "react-anchor-link-smooth-scroll" : " ^1.0.12" ,
3132 "react-cool-dimensions" : " ^3.0.1" ,
3233 "react-dom" : " ^19.0.0" ,
33- "react-markdown" : " ^9.0.1 " ,
34+ "react-markdown" : " ^9.1.0 " ,
3435 "react-slick" : " ^0.29.0" ,
3536 "react-tippy" : " ^1.4.0" ,
3637 "react-toggle" : " ^4.1.3" ,
You can’t perform that action at this time.
0 commit comments