-
Notifications
You must be signed in to change notification settings - Fork 868
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
Invalid link: '<a href="#...">...</a>'. The file index.md doesn't contain a bookmark named '...' #5233
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. |
this issue is still valid with 2.48.1 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. |
Closing this issue after a prolonged period of inactivity. If you still think this issue is relevant, please feel free to ping a maintainer or leave a comment. |
We wanted to use markdig as our markdown engine and ran into the same error with it. Using docfx v2.56.5. |
Hi, |
Any news on this? We're also waiting for it. |
Hi, I am also encountering that problem with german Umlaute. Docfx v2.58.9.0 |
For french characters (é, è, à, ', ...), I tried saving the .md as UTF8 with and without BOM. Same warnings. Docfx v2.58.9.0
Warning:BuildCommand.Postprocess.HandlePostProcessorsWithIncremental.HandlePostProcessors.Processing html.ValidateBookmarkInvalid link: 'Québec'. The file index.md doesn't contain a bookmark named 'qu%C3%A9bec'. But the rendered html link is valid: |
Same issue with Russian characters. As a workaround have to explicitly specify bookmark names as described here. It's a little bit tedious, and fix is highly anticipated. |
Chiming in. Same issue with my Danish ø, æ and å's. |
This seems to be a problem with markdig |
Still fails with docfx 2.75.1. Thankfully the generated HTML works, but this is annoying as hell and makes it very hard to detect actual errors when compiling the docs. |
Operation System:
Windows
DocFX Version Used: 2.46
Template used:
default
Steps to Reproduce:
docfx.exe docfx.json
Expected Behavior:
Build succeeds without warnings
Actual Behavior:
Build succeeds with one warning: Invalid link:
'<a href="#anchor-with-umlaut-%C3%A4">Link to anchor</a>'. The file index.md doesn't contain a bookmark named 'anchor-with-umlaut-%C3%A4'
DocFx seems to url-encode special characters (e.g. german Umlaute) in links but does not url encode the anchor names that are being generated for each heading, therefore the warning I guess. Firefox seems to be okay with that (it can navigate the links) but of course it is not obvious anymore whether ones link is really invalid or whether it just contains characters that got url encoded.
The text was updated successfully, but these errors were encountered: