jonkemp/gulp-inline-css

Don't remove link with attribute data-embed

tomkrej opened this issue · 8 comments

Hi,
I have small wish :) I am newsletter developer a I use gulp-inline-css in my devstack with two cases. First I have external link to style.css () which I need to inline and remove. And second external link for Google Fonts () which I don't want remove.

I tried to add data attribute data-embed, but it still remove element.

Can you help me, please?

I second this request. My links to to Google fonts get stripped out.

Oh I see what you are saying. Seems like data-embed is the solution here but maybe it doesn't work for the link tag.

Maybe having an data-embed-ignore attribute for link tags to be left alone entirely. Thank you for looking into this!

Any updates?
Same problem with Google fonts

Curious if this is being addressed? Also having a problem with Google Fonts being stripped.