How can I stop converting html
<img src="images/image.svg"> to <img src="images/image@2x.svg">
We don't need @2x svg files. I propose to remove svg extension from var reImageSrc = /^((?:(?:http|https):\/\/)?(?:.+))(\.(?:gif|png|jpg|jpeg|webp|svg))$/;
@ArtemGoldsmith and @noudadrichem i cloned this and republished since @germanyt has been inactive for over 2 years. feel free to use the updated version here:
How can I stop converting html
<img src="images/image.svg">
to<img src="images/image@2x.svg">
We don't need @2x svg files. I propose to remove svg extension fromvar reImageSrc = /^((?:(?:http|https):\/\/)?(?:.+))(\.(?:gif|png|jpg|jpeg|webp|svg))$/;