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

Fix small bug regarding responsive-img-srcset #2761

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dfuchss
Copy link

@dfuchss dfuchss commented Oct 10, 2024

In #2698 a filter for the .webp src creation has been added.
Unfortunately, this filter matches nothing (as far as I can see) because it searches for ".jpg" instead of "jpg", ".png" instead of "png", ...
I.e., the source set is not added to any figure because the split removes the "." from the extension.
Therefore, I changed the filter:
Now the resource sets are created for the resp. file extensions

@dfuchss dfuchss changed the title Fix Bug in responsive-img-srcset Fix small bug regarding responsive-img-srcset Oct 11, 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

Successfully merging this pull request may close these issues.

1 participant