tactivos / grunt-cdn

79 stars 53 forks source link

Does not replace images in inline styles #72

Open mohamnag opened 8 years ago

mohamnag commented 8 years ago

I have following piece of HTML inside a .html file:

<div class="banner" style="background-image: url('/img/banner.dbc79ebe3985ec75d6ce.jpg')">

Such URLs stay the same after cdn-izing.

There is some specific reason that background image is inline (due to site generator used) but the fact is that those image references are not replaced by this plugin.

Is there some thing that can fix this behaviour in settings?

mohamnag commented 8 years ago

is this project dead? any comments, intentions?

mgntrn commented 8 years ago

+1