{"action":"created","issue":{"url":"https://api.github.com/repos/mihhail-lapushkin/grunt-css-url-embed/issues/22","labels_url":"https://api.github.com/repos/mihhail-lapushkin/grunt-css-url-embed/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/mihhail-lapushkin/grunt-css-url-embed/issues/22/comments","events_url":"https://api.github.com/repos/mihhail-lapushkin/grunt-css-url-embed/issues/22/events","html_url":"https://github.com/mihhail-lapushkin/grunt-css-url-embed/issues/22","id":58361827,"number":22,"title":"Inclusive true and font face issue","user":{"login":"albertogasparin","id":84136,"avatar_url":"https://avatars.githubusercontent.com/u/84136?v=3","gravatar_id":"","url":"https://api.github.com/users/albertogasparin","html_url":"https://github.com/albertogasparin","followers_url":"https://api.github.com/users/albertogasparin/followers","following_url":"https://api.github.com/users/albertogasparin/following{/other_user}","gists_url":"https://api.github.com/users/albertogasparin/gists{/gist_id}","starred_url":"https://api.github.com/users/albertogasparin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertogasparin/subscriptions","organizations_url":"https://api.github.com/users/albertogasparin/orgs","repos_url":"https://api.github.com/users/albertogasparin/repos","events_url":"https://api.github.com/users/albertogasparin/events{/privacy}","received_events_url":"https://api.github.com/users/albertogasparin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-20T14:44:26Z","updated_at":"2015-02-20T17:02:56Z","closed_at":null,"body":"First of all: `inclusive` option rocks! It allows me quickly to define which image should be converted.\r\nHowever, the comment solution does not play well with Libsass, especially when it is inside a `@font-face` rule.\r\n\r\n``` css\r\n@font-face {\r\n  font-family: 'Icons';\r\n  src:url('fonts/Icons.eot') format('embedded-opentype'),\r\n    url('fonts/Icons.woff') /* embed */ format('woff'),\r\n    url('fonts/Icons.ttf') format('truetype');\r\n}\r\n```\r\n\r\nNo matter what option I give to Libsass and the position of the comment: every comment (even `/*!*/`) gets stripped. So, I would like to ask you if it would be possible to add an additional method to detect which file should be converted.   \r\nWhat about `myfile.ext#embed` ? The hash should be a safe operator and should solve problems related to comments stripped by pre/post processors in general."},"comment":{"url":"https://api.github.com/repos/mihhail-lapushkin/grunt-css-url-embed/issues/comments/75274833","html_url":"https://github.com/mihhail-lapushkin/grunt-css-url-embed/issues/22#issuecomment-75274833","issue_url":"https://api.github.com/repos/mihhail-lapushkin/grunt-css-url-embed/issues/22","id":75274833,"user":{"login":"mihhail-lapushkin","id":2752700,"avatar_url":"https://avatars.githubusercontent.com/u/2752700?v=3","gravatar_id":"","url":"https://api.github.com/users/mihhail-lapushkin","html_url":"https://github.com/mihhail-lapushkin","followers_url":"https://api.github.com/users/mihhail-lapushkin/followers","following_url":"https://api.github.com/users/mihhail-lapushkin/following{/other_user}","gists_url":"https://api.github.com/users/mihhail-lapushkin/gists{/gist_id}","starred_url":"https://api.github.com/users/mihhail-lapushkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihhail-lapushkin/subscriptions","organizations_url":"https://api.github.com/users/mihhail-lapushkin/orgs","repos_url":"https://api.github.com/users/mihhail-lapushkin/repos","events_url":"https://api.github.com/users/mihhail-lapushkin/events{/privacy}","received_events_url":"https://api.github.com/users/mihhail-lapushkin/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T17:02:56Z","updated_at":"2015-02-20T17:02:56Z","body":"Well, with Grunt you can copy and transform files as many times as you like. You don't have to do any manual or duplicate work. It's just a matter of your build pipeline.\r\n1) Copy everything from `src` to `dist`\r\n2) Embed URLs in `dist ` sass files\r\n3) Compile sass files in place\r\n4) Delete files ending with `.scss` from `dist `\r\n5) Do all other build steps"}}