{"action":"closed","issue":{"url":"https://api.github.com/repos/readium/readium-shared-js/issues/101","repository_url":"https://api.github.com/repos/readium/readium-shared-js","labels_url":"https://api.github.com/repos/readium/readium-shared-js/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/readium/readium-shared-js/issues/101/comments","events_url":"https://api.github.com/repos/readium/readium-shared-js/issues/101/events","html_url":"https://github.com/readium/readium-shared-js/issues/101","id":41268049,"number":101,"title":"getCurrentSelectionCfi() error when selection contains images.","user":{"login":"Twibit","id":1050563,"avatar_url":"https://avatars.githubusercontent.com/u/1050563?v=3","gravatar_id":"","url":"https://api.github.com/users/Twibit","html_url":"https://github.com/Twibit","followers_url":"https://api.github.com/users/Twibit/followers","following_url":"https://api.github.com/users/Twibit/following{/other_user}","gists_url":"https://api.github.com/users/Twibit/gists{/gist_id}","starred_url":"https://api.github.com/users/Twibit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Twibit/subscriptions","organizations_url":"https://api.github.com/users/Twibit/orgs","repos_url":"https://api.github.com/users/Twibit/repos","events_url":"https://api.github.com/users/Twibit/events{/privacy}","received_events_url":"https://api.github.com/users/Twibit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/readium/readium-shared-js/labels/func:CFI","name":"func:CFI","color":"b6d7a8"},{"url":"https://api.github.com/repos/readium/readium-shared-js/labels/func:JavaScript","name":"func:JavaScript","color":"b6d7a8"},{"url":"https://api.github.com/repos/readium/readium-shared-js/labels/priority:Blocking","name":"priority:Blocking","color":"ff0000"},{"url":"https://api.github.com/repos/readium/readium-shared-js/labels/type:Bug","name":"type:Bug","color":"f00000"}],"state":"closed","locked":false,"assignee":{"login":"JCCR","id":5132652,"avatar_url":"https://avatars.githubusercontent.com/u/5132652?v=3","gravatar_id":"","url":"https://api.github.com/users/JCCR","html_url":"https://github.com/JCCR","followers_url":"https://api.github.com/users/JCCR/followers","following_url":"https://api.github.com/users/JCCR/following{/other_user}","gists_url":"https://api.github.com/users/JCCR/gists{/gist_id}","starred_url":"https://api.github.com/users/JCCR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCCR/subscriptions","organizations_url":"https://api.github.com/users/JCCR/orgs","repos_url":"https://api.github.com/users/JCCR/repos","events_url":"https://api.github.com/users/JCCR/events{/privacy}","received_events_url":"https://api.github.com/users/JCCR/received_events","type":"User","site_admin":false},"assignees":[{"login":"JCCR","id":5132652,"avatar_url":"https://avatars.githubusercontent.com/u/5132652?v=3","gravatar_id":"","url":"https://api.github.com/users/JCCR","html_url":"https://github.com/JCCR","followers_url":"https://api.github.com/users/JCCR/followers","following_url":"https://api.github.com/users/JCCR/following{/other_user}","gists_url":"https://api.github.com/users/JCCR/gists{/gist_id}","starred_url":"https://api.github.com/users/JCCR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCCR/subscriptions","organizations_url":"https://api.github.com/users/JCCR/orgs","repos_url":"https://api.github.com/users/JCCR/repos","events_url":"https://api.github.com/users/JCCR/events{/privacy}","received_events_url":"https://api.github.com/users/JCCR/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2014-08-27T10:19:00Z","updated_at":"2016-08-26T16:57:52Z","closed_at":"2016-08-26T16:57:52Z","body":"Hello, \r\n\r\nI'm trying to create annotations on selected content but when i want to get the CFI of a selection containing images, i get the following Uncaught SyntaxError.\r\n\r\n```Uncaught SyntaxError: Expected \"!/\", \"/\", \"[\" or [0-9] but \",\" found.``` in /lib/epub_cfi.js [(1483)](https://github.com/readium/readium-shared-js/blob/master/lib/epub_cfi.js#L1483)\r\n"}}
{"actor":{"display_login":"danielweck"}}