You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Leaving a comment here to help future investigation, since I couldn't find a solution so far:
The getHeadings function on helpcenter sets the heading slugs correctly. The first time the page loads, table of content slugs are correct.
However, upon clicking them, here's what happens:
They do not lead to the correct section, because the HTML ids for heading elements are set wrongfully (eliminating characters with diacritics instead of normalizing them) somewhere.
Table of content slugs are changed in a wrong way as well (equal to html ids) after the first click. This probably requires changes in the useEffect function in TableOfContext.tsx in the components repo.
Se o heading da seção contém vogais acentuadas ou
ç
, esses caracteres são omitidos da slug do anchorlink quando se clica na sidebar direita do artigo.O ideal é que fossem substituídos pelas suas versões sem acentos ou
c
no caso doç
.Exemplos de artigos com esse erro
https://leafy-mooncake-7c2e5e.netlify.app/pt/docs/tracks/instore-setup-basico
https://leafy-mooncake-7c2e5e.netlify.app/pt/docs/tracks/relevancia
https://leafy-mooncake-7c2e5e.netlify.app/pt/faq/erro-object-reference-not-set-to-an-instance-of-an-object-ao-tentar
The text was updated successfully, but these errors were encountered: