jonkemp/gulp-inline-css

Trouble with html attributes

Steadyx opened this issue · 1 comments

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!

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