Open aleksandrpnshkn opened 4 years ago
I have the same issue. Is there a solution for this? I've been looking everywhere.
This was fixed in dom-util-for-webp v.0.4.1 back in june 2021: https://github.com/rosell-dk/dom-util-for-webp/issues/24
The problem is still there, when there are newlines inside the picture tag
I have responsive images in my theme:
but instead of replacing urls it wraps
<img>
in another<picture>
:That is, I have to exclude these images. By the way, examples have a
<picture>
in input markup, but why doesn't it contain required<img>
?And not quite on the topic. Two little issues with alter HTML mode:
http://localhost:8000/wp-content/...
->http://localhost/wp-content/...
), so it doesn't work in my development environment.<img src="/wp-content/...">
), just skipping.Should I create separate issues?
Tested in clean twentytwenty theme. WebP Express v.0.17.4