Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data URIs in imported files prepend directory #107

Closed
kalley opened this issue May 27, 2013 · 1 comment
Closed

data URIs in imported files prepend directory #107

kalley opened this issue May 27, 2013 · 1 comment

Comments

@kalley
Copy link

kalley commented May 27, 2013

If imported file is in a subdirectory, the directory is getting prepended to the data URI.

/* main.css */

@import 'fonts/font.css';
/* fonts/fonts.css */

@font-face {
    font-family: 'my-font';
    src: url(data:application/x-font-woff;charset=utf-8;base64,d09GRk9U....
/* output.css */

@font-face{font-family:my-font;src:url(fonts/data:application/x-font-woff;charset=utf-8;base64,d09GRk9U...
@GoalSmashers
Copy link
Contributor

@kpowell - thanks for reporting this issue - clean-css 1.0.5 is out with the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants