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
Section permalink html anchors are wrong #48210
Comments
With sphinx svn version 66617, generated html docs have invalid html Affected file: sphinx/htmlwriter.py, lines 71 and 373. |
Sorry, forgot to mention that this happened to the generated Django html After fixing the two lines (as I mentioned), all named link works again. |
Actually this is all right. The generated HTML looks like this: So the id is in the span tag, not the a tag. The link generated for the |
I should have mentioned that this breaks in-document links, e.g. clicking My point is that the attribute should be "name" instead of "href". |
Sorry, Georg, I just realized what you meant. You're right. But would it |
I don't see that inter-document links *wouldn't* work, except on antique |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: