v3 regression: broken link if the first url has a anchor and the second url is in parenthesis #9553
Closed
5 of 7 tasks
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: duplicate
This issue or pull request already exists in another issue or pull request
domain: markdown
Related to Markdown parsing or syntax
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
with docusaurus 3.0.0 a url is broken if the first url has a anchor (
[a](./file.md#anchor)
) and the second url uses the same url, but is in parenthesis (([b](./file.md#anchor])
), fuller example:this does not occur if no parenthesis are used:
or if the first url does not have a anchor:
PS: removing (or changing) the "id:" in the target file does not change the error
Reproducible demo
https://github.com/typegoose/typegoose/tree/docusuaursV3urlError
Steps to reproduce
docusuaursV3urlError
)website/
yarn install
yarn run build
/typegoose/docs/guides/advanced/reference-other-classes
- which is the original case where i first saw the error/typegoose/docs/guides/error-warning-details
- which is a reproduction of the issueExpected behavior
the url to successfully compile with a correct link like in 2.4.3
Actual behavior
Broken link at runtime, and on build a broken link error:
Your environment
Self-service
The text was updated successfully, but these errors were encountered: