{"action":"opened","issue":{"url":"https://api.github.com/repos/jrit/web-resource-inliner/issues/9","labels_url":"https://api.github.com/repos/jrit/web-resource-inliner/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/jrit/web-resource-inliner/issues/9/comments","events_url":"https://api.github.com/repos/jrit/web-resource-inliner/issues/9/events","html_url":"https://github.com/jrit/web-resource-inliner/issues/9","id":107809225,"number":9,"title":"Error getting remote files to inline","user":{"login":"tmcdonnell87","id":4717014,"avatar_url":"https://avatars.githubusercontent.com/u/4717014?v=3","gravatar_id":"","url":"https://api.github.com/users/tmcdonnell87","html_url":"https://github.com/tmcdonnell87","followers_url":"https://api.github.com/users/tmcdonnell87/followers","following_url":"https://api.github.com/users/tmcdonnell87/following{/other_user}","gists_url":"https://api.github.com/users/tmcdonnell87/gists{/gist_id}","starred_url":"https://api.github.com/users/tmcdonnell87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmcdonnell87/subscriptions","organizations_url":"https://api.github.com/users/tmcdonnell87/orgs","repos_url":"https://api.github.com/users/tmcdonnell87/repos","events_url":"https://api.github.com/users/tmcdonnell87/events{/privacy}","received_events_url":"https://api.github.com/users/tmcdonnell87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-22T21:45:33Z","updated_at":"2015-09-22T21:45:33Z","closed_at":null,"body":"It looks like you've lost the ```relativeTo``` param for remote file retrieval (https://github.com/jrit/web-resource-inliner/blob/master/src/util.js:149). \r\n\r\nI suggest making it similar to getTextReplacement (above):\r\n\r\n    if( util.isRemotePath( relativeTo ) )\r\n    {\r\n        util.getRemote( url.resolve(relativeTo, src), callback, true );\r\n    }\r\n\r\nThanks!"}}