jezdez/django_compressor — Issue #218: Compressor fails on specific CSS fontfamily declarations
Author: pannal
Created: 2012-02-25 19:09:20+00:00
State: open

When using a font-family declaration such as:

```
@font-face {
font-family: 'HumanistItalic';
src: url('../font/humanist521tl-italic-webfont.eot');
src: url('../font/humanist521tl-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('../font/humanist521tl-italic-webfont.woff') format('woff'),
url('../font/humanist521tl-italic-webfont.ttf') format('truetype'),
url('../font/humanist521tl-italic-webfont.svg#Humanist521TLItalic') format('svg');
font-weight: normal;
font-style: normal;
}
```

Compressor will fail with:
Caught OSError while rendering: [Errno 2] No such file or directory: '/home/cmstest/djangocms/project/static_collected/font/humanist521tl-italic-webfont.svg#Humanist521TLItalic'