diff --git a/apps/documentation/src/components/MdxProvider/MdxTitle/MdxTitle.tsx b/apps/documentation/src/components/MdxProvider/MdxTitle/MdxTitle.tsx index dba88ed5..7a88a7ab 100644 --- a/apps/documentation/src/components/MdxProvider/MdxTitle/MdxTitle.tsx +++ b/apps/documentation/src/components/MdxProvider/MdxTitle/MdxTitle.tsx @@ -29,7 +29,7 @@ function getIdFrom(children: ReactNode): string { ? children.map(getTextContent).join('') : getTextContent(children) - return textContent + return textContent .normalize('NFKD') // separate accented characters into their base form and diacritical marks .replace(/[\u0300-\u036f]/g, '') // remove all the accents .trim()