aslansky / css-sprite

css sprite generator
MIT License
733 stars 55 forks source link

cssPath struggles with special characters #66

Closed hisnameisjimmy closed 9 years ago

hisnameisjimmy commented 9 years ago

cssPath is also struggling with special characters like < and {. I am using those for templating in Django, and later using a replace for local development, but it doesn't work as the output is garbled.

For example, in my task I have: cssPath: '{{ STATIC_URL }}img/'

which outputs as: background-image: url('%7B%7B%20STATIC_URL%20%7D%7Dimg/sprite.png');

aslansky commented 9 years ago

The problem should be fixed in sprity v1.0.0