diff --git a/src/components/Newsletter/CustomLink.tsx b/src/components/Newsletter/CustomLink.tsx index ec22c5232f045f8b68ec6a8eec01aeebef38a05d..0a3492139c1617f8709c9cd4daed82676abcf663 100644 --- a/src/components/Newsletter/CustomLink.tsx +++ b/src/components/Newsletter/CustomLink.tsx @@ -23,7 +23,7 @@ const CustomLink: React.FC<EcolyoLinkProps> = ({ onChange, editorState }) => { link: 'ecogestures', }, { - displayTitle: 'Sélection des astuces', + displayTitle: 'Sélection des Astuces', link: 'ecogesture-selection', }, { @@ -36,9 +36,7 @@ const CustomLink: React.FC<EcolyoLinkProps> = ({ onChange, editorState }) => { }, ] const appendLink = (link: LinkState) => { - const data = `<a href="{cozyUrl}${ - link.link - }">${link.displayTitle.toLowerCase()}</a>` + const data = `<a href="{cozyUrl}${link.link}">${link.displayTitle}</a>` const { contentBlocks, entityMap } = htmlToDraft(data) const contentState = Modifier.replaceWithFragment(