jonkemp / gulp-inline-css

Inline linked css in an html file. Useful for emails.
MIT License
272 stars 29 forks source link

Trouble with html attributes #43

Open Steadyx opened 7 years ago

Steadyx commented 7 years ago

Hello!

I really do love this plugin for gulp, really helps speed things up! Although, I've been having a little bit of trouble as of late. I am using your library in tangent with another library to inline my css to a style tag from my main css file. The other package is called gulp-inline-source and it requires an attribute on the link tag.

    <link inline rel="stylesheet" href="./css/main.css">

Though, when everything compiles to it's destination folder I've noticed that inline gets treated as such.

    <link inline="" rel="stylesheet" href="./css/main.css">

I am just wondering if there is a way that maybe I can stop gulp-inline-css from messing with any html attributes that are inputed into the html? Many thanks!

phillipsandoveracademy commented 6 years ago

I am also getting the same issues with inline in a link tag.