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

onBrokenAnchors fails with unicode #9717

Closed
6 of 7 tasks
Zamiell opened this issue Jan 8, 2024 · 1 comment · Fixed by #9732
Closed
6 of 7 tasks

onBrokenAnchors fails with unicode #9717

Zamiell opened this issue Jan 8, 2024 · 1 comment · Fixed by #9732
Labels
bug An error in the Docusaurus core causing instability or issues with its execution

Comments

@Zamiell
Copy link
Contributor

Zamiell commented Jan 8, 2024

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io.
  • I have read the console error message carefully (if applicable).

Description

I tried out the new onBrokenAnchors feature, but ran into a bug: it gives a false positive with the following header:

### Schrödinger's Cat Principle

The link:

- First, see the section on [Schrödinger's Cat Principle](foo.mdx#schrödingers-cat-principle).

Your environment

Self-service

  • I'd be willing to fix this bug myself.
@Zamiell Zamiell added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Jan 8, 2024
@slorber slorber removed the status: needs triage This issue has not been triaged by maintainers label Jan 11, 2024
@slorber
Copy link
Collaborator

slorber commented Jan 11, 2024

Thanks for reporting, will be fixed in #9732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants