Open MagePsycho opened 1 year ago
It's ugly, but here's a suggestion:
var imgElement = '<__TAGNAME__ src="..." />'.replace('__TAGNAME__', 'img')
Could you see if this issue persists after upgrading Yireo NextGenImages to version 0.3.14?
I have recently noticed one issue while using the
<img/>
tag in the JS variable. For example:As
Yireo_Webp2
extension converts<img/>
element to<picture>...</picture>
set, it throws the JS error as the output looks likeIs there a way to stop the
<img/>
element from the conversion