Skip to content

fix: properly parse srcset attribute #510

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

Merged
merged 1 commit into from
Jul 9, 2022
Merged

fix: properly parse srcset attribute #510

merged 1 commit into from
Jul 9, 2022

Conversation

JustinBeckwith
Copy link
Owner

@JustinBeckwith JustinBeckwith commented Jul 9, 2022

Fixes #496 (I think). The parsing logic for srcset attributes was way too simplistic, and didn't take data URI base64 encoded data into account. This change uses an actual library that knows what it's doing :)

@JustinBeckwith JustinBeckwith merged commit 9a8a83c into main Jul 9, 2022
@JustinBeckwith JustinBeckwith deleted the srcset branch July 9, 2022 02:46
@github-actions
Copy link

github-actions bot commented Jul 9, 2022

🎉 This PR is included in version 4.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positives with base64 images and data: urls in general
1 participant