jonkemp/gulp-inline-css

Alt attribute being stripped

mark-making opened this issue · 1 comments

For img when an image is decorative, the best practise is to have an empty alt description like so:

<img width="10" height="40" src="../img.src" alt=""/>

When the document is generated via Jekyll, I get the output I expect above.

When it is ran through this plugin, it seems to be rewriting the alt tag.

<img width="10" height="40" src="../img.src" alt style="inlined styles">

Which is not the desired outcome.