claudetech / node-static-i18n

HTML static pages i18n tool
https://www.npmjs.com/package/static-i18n
MIT License
104 stars 21 forks source link

Allow srcset attribute paths of images to be fixed #50

Open fedeolto opened 2 years ago

fedeolto commented 2 years ago

Hi, me too I faced an issue while using gulp-static-i18n-html (it depends on this project). If I use srcset attribute in an <img> paths are not fixed, so I modified a little the way paths are fixed, introducing the scenario where more than one path exists in a single html attribute