Broken in-page links due to incorrect heading IDs #36832
Labels
content
This issue or pull request belongs to the Docs Content team
localization
Issue or PR relating to translation or localization
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/fr/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address
Although the example is in French, this problem occurs across all non-English languages.
What part(s) of the article would you like to see updated?
The following in-page links do not work in languages other than English.
https://github.com/github/docs/blob/main/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address.md?plain=1#L36
https://github.com/github/docs/blob/main/data/reusables/user-settings/no-verification-disposable-emails.md
This issue occurs because translated headings are directly used as their element IDs, causing inconsistencies with the links.
It seems that this only affects headings that include Liquid statements.
If the heading element IDs remain unchanged during translation, the links should work correctly.
Additional information
No response
The text was updated successfully, but these errors were encountered: