ehynds / grunt-image-embed

A grunt task for converting images inside a stylesheet to base64-encoded data URI strings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImageEmbed:skip does not prevent embedding of background styles with multiple declarations

xurion opened this issue · comments

Running imageEmbed against the following background style with /ImageEmbed:skip/ will still encode the image:

.my-style {
    background: url('images/image.png') no-repeat; /*ImageEmbed:skip*/
}

Removing the no-repeat from the style correctly prevents imageEmbed from encoding.

closing because fives years lol