{"action":"closed","issue":{"url":"https://api.github.com/repos/futurepress/epub.js/issues/190","labels_url":"https://api.github.com/repos/futurepress/epub.js/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/futurepress/epub.js/issues/190/comments","events_url":"https://api.github.com/repos/futurepress/epub.js/issues/190/events","html_url":"https://github.com/futurepress/epub.js/issues/190","id":56682304,"number":190,"title":"getToc() return an empty array on ie ","user":{"login":"Genet","id":988309,"avatar_url":"https://avatars.githubusercontent.com/u/988309?v=3","gravatar_id":"","url":"https://api.github.com/users/Genet","html_url":"https://github.com/Genet","followers_url":"https://api.github.com/users/Genet/followers","following_url":"https://api.github.com/users/Genet/following{/other_user}","gists_url":"https://api.github.com/users/Genet/gists{/gist_id}","starred_url":"https://api.github.com/users/Genet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Genet/subscriptions","organizations_url":"https://api.github.com/users/Genet/orgs","repos_url":"https://api.github.com/users/Genet/repos","events_url":"https://api.github.com/users/Genet/events{/privacy}","received_events_url":"https://api.github.com/users/Genet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/futurepress/epub.js/labels/Internet%20Explorer","name":"Internet Explorer","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-05T15:12:07Z","updated_at":"2015-09-30T03:02:24Z","closed_at":"2015-09-30T03:02:24Z","body":"Call the function getToc() always return an empty array.\r\nquerySelector with namespace seem doesn't work well and always return null.\r\n\r\nhttps://github.com/futurepress/epub.js/blob/master/src/parser.js#L262\r\n```javascript\r\nEPUBJS.Parser.prototype.nav = function(navHtml, spineIndexByURL, bookSpine){\r\n   var navEl = navHtml.querySelector('nav[*|type=\"toc\"]'), //-- [*|type=\"toc\"] * Doesn't seem to work\r\n```"}}