chyingp / grunt-inline

Brings externally referenced resources, such as js, css and images, into a single file.
MIT License
87 stars 55 forks source link

[suggestion] add option to change target attribute name #68

Open kunaakos opened 8 years ago

kunaakos commented 8 years ago

Hi!

An option to change the target attribute name would come in handy, for example with html5 banners exported from Google Web Designer: <img is="gwd-image" source="background.jpg" id="background1" class="gwd-img-332h gwd-gen-8pp1gwdanimation"> These have no src attribute, and use "source=" instead. I imagine this could come in handy in other circumstances too.