mts527
mts527
**Edit:** Having the same issue where odd images only get's converted and wrapper with `` tag. I'm using the latest module version. this ``` ``` will be converted to ``` ...
**Update:** I've disabled `HtmlReplacer` and created a custom plugin for `Magento\Framework\View\LayoutInterface` with a `DOM parser` - [DOMDocument](https://www.php.net/manual/en/class.domdocument.php) to modify the image nodes. Seems to be working fine for now and...
Don't know if it's PR ready candidate yet as it's in a testing faze. As for sharing the code - sure :) **Vendor/Module/etc/di.xml** ``` ``` **Vendor\Module\Plugin\Layout\UpdateImagesAttributes.php** ```
Agree @jissereitsma, DOMDocument can potentially create other issues as I've noticed few days ago. It breaks inline scripts that concatenate a string with HTML and then append it to DOM....
Had the same issue on MacOS until I upgraded Docker Desktop to `v4.20.1` and Docker Compose to `v2.18.1`.