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

DOMException: Failed to execute 'querySelector' on 'Document': '#%E5%A3%A' is not a valid selector. #958

Closed
4 tasks done
gyhyfj opened this issue Jul 10, 2022 · 1 comment

Comments

@gyhyfj
Copy link
Contributor

gyhyfj commented Jul 10, 2022

Is your feature request related to a problem? Please describe.

When I click the right side toc , browser's terminal will report like this :

DOMException: Failed to execute 'querySelector' on 'Document': '#%E5%BC%A0%E6%B8%A9%E7%9A%84%E9%80%89%E6%8B%A9' is not a valid selector.
    at l (https://www.gyhyfj.com/assets/app.db3f66e3.js:1:122893)
    at $t (https://www.gyhyfj.com/assets/app.db3f66e3.js:1:12734)
    at qe (https://www.gyhyfj.com/assets/app.db3f66e3.js:1:12813)
    at HTMLAnchorElement.n (https://www.gyhyfj.com/assets/app.db3f66e3.js:1:56863)

I think the reason is that the heading's language is not English , such as Chinese.
However ... everything works well as usual.
It just looked not elegant.

Describe the solution you'd like

not yet

Describe alternatives you've considered

No response

Additional context

No response

Validations

@brc-dd
Copy link
Member

brc-dd commented Jul 10, 2022

Hi! This was fixed in #951. It will be there in the next release.

@brc-dd brc-dd closed this as completed Jul 10, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants