{"action":"created","issue":{"url":"https://api.github.com/repos/todvora/gitbook-plugin-image-captions/issues/9","repository_url":"https://api.github.com/repos/todvora/gitbook-plugin-image-captions","labels_url":"https://api.github.com/repos/todvora/gitbook-plugin-image-captions/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/todvora/gitbook-plugin-image-captions/issues/9/comments","events_url":"https://api.github.com/repos/todvora/gitbook-plugin-image-captions/issues/9/events","html_url":"https://github.com/todvora/gitbook-plugin-image-captions/issues/9","id":153401464,"number":9,"title":"picture.backlinks aren't processed correctly?","user":{"login":"cycomachead","id":1505907,"avatar_url":"https://avatars.githubusercontent.com/u/1505907?v=3","gravatar_id":"","url":"https://api.github.com/users/cycomachead","html_url":"https://github.com/cycomachead","followers_url":"https://api.github.com/users/cycomachead/followers","following_url":"https://api.github.com/users/cycomachead/following{/other_user}","gists_url":"https://api.github.com/users/cycomachead/gists{/gist_id}","starred_url":"https://api.github.com/users/cycomachead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cycomachead/subscriptions","organizations_url":"https://api.github.com/users/cycomachead/orgs","repos_url":"https://api.github.com/users/cycomachead/repos","events_url":"https://api.github.com/users/cycomachead/events{/privacy}","received_events_url":"https://api.github.com/users/cycomachead/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/todvora/gitbook-plugin-image-captions/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"todvora","id":4102775,"avatar_url":"https://avatars.githubusercontent.com/u/4102775?v=3","gravatar_id":"","url":"https://api.github.com/users/todvora","html_url":"https://github.com/todvora","followers_url":"https://api.github.com/users/todvora/followers","following_url":"https://api.github.com/users/todvora/following{/other_user}","gists_url":"https://api.github.com/users/todvora/gists{/gist_id}","starred_url":"https://api.github.com/users/todvora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/todvora/subscriptions","organizations_url":"https://api.github.com/users/todvora/orgs","repos_url":"https://api.github.com/users/todvora/repos","events_url":"https://api.github.com/users/todvora/events{/privacy}","received_events_url":"https://api.github.com/users/todvora/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-05-06T08:19:27Z","updated_at":"2016-05-26T14:12:39Z","closed_at":null,"body":"Not sure if the issue with the plugin or gitbook...\r\n\r\nI have a figures.md file with the following code:\r\n\r\n```\r\n{% for fig in book.figures %}\r\n   * {{ fig.key }} [{{ fig.list_caption }}]({{ fig.backlink }})\r\n{% endfor %}\r\n```\r\n\r\nAnd I get the following warning in the console:\r\n```\r\nwarn: page contents/figures.md contains an hyperlink to resource outside spine 'contents/related-work.md#fig5.1' \r\n```\r\nIt seems like the `.md` just needs to be a `.html`, but Gitbook should handle that, right?"},"comment":{"url":"https://api.github.com/repos/todvora/gitbook-plugin-image-captions/issues/comments/221882408","html_url":"https://github.com/todvora/gitbook-plugin-image-captions/issues/9#issuecomment-221882408","issue_url":"https://api.github.com/repos/todvora/gitbook-plugin-image-captions/issues/9","id":221882408,"user":{"login":"todvora","id":4102775,"avatar_url":"https://avatars.githubusercontent.com/u/4102775?v=3","gravatar_id":"","url":"https://api.github.com/users/todvora","html_url":"https://github.com/todvora","followers_url":"https://api.github.com/users/todvora/followers","following_url":"https://api.github.com/users/todvora/following{/other_user}","gists_url":"https://api.github.com/users/todvora/gists{/gist_id}","starred_url":"https://api.github.com/users/todvora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/todvora/subscriptions","organizations_url":"https://api.github.com/users/todvora/orgs","repos_url":"https://api.github.com/users/todvora/repos","events_url":"https://api.github.com/users/todvora/events{/privacy}","received_events_url":"https://api.github.com/users/todvora/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T14:12:38Z","updated_at":"2016-05-26T14:12:38Z","body":"Hi \r\n\r\n@markomanninen: thank you, this is a nice workaround. To make it easier for users, I implemented in directly in source code of the plugin (see [this line](https://github.com/todvora/gitbook-plugin-image-captions/blob/25ba7435933ce285d608cc537fbb8ec2ecbe7081/src/lib/ImageCaptions3.js#L65)). The second replace has to take care of ```README.md``` -> ```index.html```.\r\n\r\nEveryone: could you please check, if this works for you in the latest release ```0.4.1```?"}}
{"actor":{"display_login":"todvora"}}