Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation don't scroll to position with cyrillic characters ids #293

Closed
ANONIMNIQ opened this issue Nov 28, 2022 · 6 comments
Closed

Navigation don't scroll to position with cyrillic characters ids #293

ANONIMNIQ opened this issue Nov 28, 2022 · 6 comments

Comments

@ANONIMNIQ
Copy link

How to make navigation to work with cyrillic language? If I paste the link in browser it load page to the right position, but toc menu only changes when I scroll to id positions but don't work If I click on the menu.

@tscanlin
Copy link
Owner

Hey, sorry to hear you are running into an issue. Do you have a link that I could see that reproduces this issue?

@ANONIMNIQ
Copy link
Author

ANONIMNIQ commented Nov 29, 2022

@tscanlin
Copy link
Owner

tscanlin commented Dec 2, 2022

I think this is because the id's are encoded:
%D1%87%D0%B0%D1%81%D1%82-1%D0%B4%D0%B8%D0%B0%D0%BB%D0%BE%D0%B3-%D1%81-%D0%B4%D1%8F%D0%B2%D0%BE%D0%BB%D0%B0
When I change the id to the unicode characters it seems to work.

@ANONIMNIQ
Copy link
Author

My site is in Bulgarian language and there is a lot of cyrillic characters. Any way to fix this?

@tscanlin
Copy link
Owner

tscanlin commented Dec 2, 2022

Actually this should be fixed in the latest version. I think you are on 4.11.1 and you should switch to the latest 4.19.0 and that should hopefully fix the issue. see also: #281 (comment)

@ANONIMNIQ
Copy link
Author

Thank you! 4.19.0 solved the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants