fix: properly parse srcset attribute by JustinBeckwith · Pull Request #510 · JustinBeckwith/linkinator · GitHub
Skip to content

fix: properly parse srcset attribute - #510

Merged
JustinBeckwith merged 1 commit into
mainfrom
srcset
Jul 9, 2022
Merged

JustinBeckwith merged 1 commit into
mainfrom
srcset

Conversation

@JustinBeckwith

@JustinBeckwith JustinBeckwith commented Jul 9, 2022 •

Copy link
Copy Markdown
Owner

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

github-actions Bot commented Jul 9, 2022

Copy link
Copy Markdown
Contributor

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