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

feature: Support srcset for img #20

Open
marcstern opened this issue Mar 1, 2023 · 0 comments
Open

feature: Support srcset for img #20

marcstern opened this issue Mar 1, 2023 · 0 comments

Comments

@marcstern
Copy link

Same request than #5 with srcset:
<img decoding="async" loading="lazy" src="images/pentest-report-download-image-01-209x300.png" alt="" class="wp-image-109" width="270" height="387" srcset="https://xxx/wp-content/uploads/2022/09/Pentest-Report-Download-Image-01-209x300.png 209w, https://xxx/wp-content/uploads/2022/09/Pentest-Report-Download-Image-01-715x1024.png 715w" sizes="(max-width: 270px) 100vw, 270px" />

I added "srcset" the same way but it doesn't seem suffisant. Did I miss something?
I guess we should add it anyway (and potentially fix the parser if needed).

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