File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
apps/frontend/src/components/launches Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ import i18next from 'i18next';
5555import { AddEditModal } from '@gitroom/frontend/components/new-launch/add.edit.modal' ;
5656import { deleteDialog } from '@gitroom/react/helpers/delete.dialog' ;
5757import { useVariables } from '@gitroom/react/helpers/variable.context' ;
58+ import { stripHtmlValidation } from '@gitroom/helpers/utils/strip.html.validation' ;
5859
5960// Extend dayjs with necessary plugins
6061extend ( isSameOrAfter ) ;
@@ -954,7 +955,7 @@ const CalendarItem: FC<{
954955 { state === 'DRAFT' ? t ( 'draft' , 'Draft' ) + ': ' : '' }
955956 </ div >
956957 < div className = "w-full overflow-hidden overflow-ellipsis text-start" >
957- { removeMd ( post . content ) . replace ( / \n / g , ' ' ) }
958+ { stripHtmlValidation ( 'none' , post . content ) }
958959 </ div >
959960 </ div >
960961 </ div >
You can’t perform that action at this time.
0 commit comments