jonkemp/gulp-inline-css

How can I remove html class attribute ?

nothingrealhappen opened this issue · 3 comments

Source

<div class="header"></div>
.header { color: #fff };

inline process

<div class="header" style="color: #fff;"></div>

why not clean all class attribute ? if mail page load the html, god know the class .header has some style rule ...

An option to do this was just added in the inline css module. So you should just be able to set the option in gulp and it will get passed through.

jonkemp/inline-css#2

Thanks, good feature. Yet it is merged, but not documented yet

Pull requests accepted. 😃