Skip to content
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

Image URLs are not properly escaped #473

Open
pavelhoral opened this issue Jul 16, 2024 · 0 comments
Open

Image URLs are not properly escaped #473

pavelhoral opened this issue Jul 16, 2024 · 0 comments

Comments

@pavelhoral
Copy link
Collaborator

pavelhoral commented Jul 16, 2024

I finally got around to verify this issue, however it was fixed for links but not for images.

this html:

<img src="https://google.com/file 1).jpg" />

produces this markdown:

![](https://google.com/file 1).jpg)

In this example I used an unbalanced bracket, as per earlier comments. I can confirm the fix for links handles both balanced and unbalanced brackets, which would be my preferred fix.

using 7.2.0

Originally posted by @shaipetel in #459 (comment)

pavelhoral added a commit to orchitech/turndown that referenced this issue Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant