-
Notifications
You must be signed in to change notification settings - Fork 39
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
Update pulldown-cmark
dependency to 0.10
#67
Conversation
06af1b7
to
b90defb
Compare
Do you have any plans for fixing those breaking changes? It seems like upstream removed some information from the end tags to save some memory allocations pulldown-cmark/pulldown-cmark#517. I suppose it means that we have to push start tags onto a stack as our internal state. |
pushed a commit that introduces some additional stacks to keep track of links/images, and the current heading. need to fix compilation of the tests to see if it works |
updated most of the tests but |
Any updates here? |
Mainly not sure how to update some of the tests, @Byron do you have any ideas for the end tag tests? |
It looks like only a single test is failing, which lets me hope this PR is close to merging actually.
Is the intent of the failing test clear? If it is, can it be adjusted to deal with the changes made here? Could the same thing be tested differently? |
Adjusted the end tag display tests and fixed the failing test, this needs some cleanup to avoid tons of extra allocations but it's passing the tests! |
06d89fc
to
7a61421
Compare
7a61421
to
b09ce73
Compare
Is there a reason |
pulldown-cmark
dependency to 0.10pulldown-cmark
dependency to 0.10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, great work!
The spec-tests improved conformity by 4 as well, and I appreciated the added test to check support for ids and attributes as well.
A new release is now available: https://github.com/Byron/pulldown-cmark-to-cmark/releases/tag/v12.0.0
Version 0.10 of
pulldown-cmark
was just released with a number of breaking changes. Unfortunately, it doesn't seem straightforward to updatepulldown-cmark-to-cmark
's dependency on it. This is a start, but there are some breaking changes that will have to be worked around (compilation currently errors)