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
Anchors in Heading don't work. #6324
Comments
Might have been caused by an update to marked.js. A judiciously placed |
Thanks for finding this! I was just trying to demo our Table of Contents extension, and it had stopped working. |
As the talk of backporting and releasing a new 2.x release is being made, it would be great to get this fixed and out. I confirm that this is still an issue in master 3.0.0-dev. Looks like ruoyu0088 has a fix, so it shouldn't be too hard. |
Backport are usually only critical bug fix. Not doing so might expose us at not beeing back ported on Debian. So I wouldn't be too optimistic on having this back ported once fixed. Envoyé de mon iPhone
|
I contribute to lots of software that is distributed by debian, and I can assure you that a bugfix that:
would not risk your status as a stable project. I appreciate being conservative in changing things, but such a usability bug can make the system look very broken, because it is broken. |
My |
Rhahh, sorry for previous post, try again: Any way it's marked as 2.3 milestone, so I supposed it is accepted by the rest of the core team, so it will be done. I guess the limitting factor is someone fixing the bug and sending a PR :-) |
Trim anchor link in heading cells, fixes #6324
Trim anchor link in heading cells, fixes ipython#6324
I recently updated to IPython 2.2, and the anchors in heading don't work any more. I debugged this, and found that the the HTML of the rendered heading is as
there is a "\n" char at the end of the id and href attribute. I can reproduct this by some simplified code in the
HeadingCell.prototype.render()
function intextcell.js
There is a
\n
char at the end of the result. To fix this I added an line of code that removes '\n' inhash
.hash = hash.replace(/\n/g, '');
The text was updated successfully, but these errors were encountered: