-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix bug handling images with links. #50
base: master
Are you sure you want to change the base?
Conversation
Before this commit links with images would get corrupted: the image would simply be removed. This commit changes the link handling logic to not care about what's inside the text in a link and simply copy it verbatim from the source markdown, avoiding this and other similar problems were things are nested inside a link's text.
Rebased on master. Should be ready for review now. |
…scape logic. This avoids potential issues in not escaping everything that needs escaping.
Is this getting merged? I am running into this issue as well. Thanks. |
Hi @phaazon. This project had been pretty low in activity in the last few months. Let me know if you no longer want to maintain it. I'm happy to fork the project, work on it, and maintain it if you no longer wish to do so. |
I've created my own project to create READMEs from rustdoc. It addresses the issue in this PR as well as PR #56 and other bugs: https://github.com/orium/cargo-rdme. |
I guess as one of the first users I would get one of the first bugs 🙂
Before this commit links with images would get corrupted: the image would simply be removed.
This PR changes the link handling logic to not care about what's inside the text in a link and simply copy it verbatim from the source markdown, avoiding this and other similar problems were things are nested inside a link's text.
Merge #53 before this, so I can add an integration test for this.✓