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
possible regression with 2.3.6 #311
Comments
Thanks for the report! Will look into this asap. |
thombashi
added a commit
to thombashi/python-markdown2
that referenced
this issue
Oct 12, 2018
_toc_depth initialization skipped if "toc" and "header-ids" are specified to extras. This will cause AttributeError in later process.
@parmentelat Could you give the changes in pr #312 a spin with the input that triggered the error? Or provide the input text and I can try it. Looks like a correct fix but I want to double check. Thanks! |
nicholasserra
added a commit
that referenced
this issue
Oct 15, 2018
Fix _toc_depth initialization: #311
Fixed in #312 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
I just was trying to upgrade from 2.3.5 to 2.3.6 and had to back off, because I ran into this:
which triggers this:
everything was going fine with 2.3.5
in this particular instance, the input markdown does not contain any
[TOC]
flag, this is because the same code applies to several pages regardless of their having a toc or not.A very quick reading of the code suggests that this _toc_depth attribute is not always set
The text was updated successfully, but these errors were encountered: