{"action":"opened","issue":{"url":"https://api.github.com/repos/substack/html-inline/issues/6","labels_url":"https://api.github.com/repos/substack/html-inline/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/substack/html-inline/issues/6/comments","events_url":"https://api.github.com/repos/substack/html-inline/issues/6/events","html_url":"https://github.com/substack/html-inline/issues/6","id":60608874,"number":6,"title":"Paths of files in parent directories are not resolving relative to the input file.","user":{"login":"n-h","id":2981255,"avatar_url":"https://avatars.githubusercontent.com/u/2981255?v=3","gravatar_id":"","url":"https://api.github.com/users/n-h","html_url":"https://github.com/n-h","followers_url":"https://api.github.com/users/n-h/followers","following_url":"https://api.github.com/users/n-h/following{/other_user}","gists_url":"https://api.github.com/users/n-h/gists{/gist_id}","starred_url":"https://api.github.com/users/n-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-h/subscriptions","organizations_url":"https://api.github.com/users/n-h/orgs","repos_url":"https://api.github.com/users/n-h/repos","events_url":"https://api.github.com/users/n-h/events{/privacy}","received_events_url":"https://api.github.com/users/n-h/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-11T04:24:35Z","updated_at":"2015-03-11T04:24:35Z","closed_at":null,"body":"Using the twitter bootstrap example html files here: https://github.com/twbs/bootstrap/archive/v3.3.2.zip\r\n\r\nI extracted the files, and did the following:\r\n\r\n```\r\n ~: cd Downloads/bootstrap-3.3.2/docs/examples/blog/\r\n ~/Downloads/bootstrap-3.3.2/docs/examples/blog: ls\r\nblog.css    index.html\r\n ~/Downloads/bootstrap-3.3.2/docs/examples/blog: html-inline -i index.html -o output.html\r\n\r\nevents.js:72\r\n        throw er; // Unhandled 'error' event\r\n              ^\r\nError: ENOENT, open '/Users/myusername/Downloads/bootstrap-3.3.2/docs/examples/blog/dist/css/bootstrap.min.css'\r\n ~/Downloads/bootstrap-3.3.2/docs/examples/blog:\r\n```\r\n\r\n This should have been resolving to /Users/myusername/Downloads/bootstrap-3.3.2/docs/dist/css/bootstrap.min.css, since the link pulls in a css file in a parent directory: ```<link href=\"../../dist/css/bootstrap.min.css\" rel=\"stylesheet\">```\r\n\r\nIs this intended? I'm open to trying to make the fix, if this is actually a bug."}}