{"action":"opened","issue":{"url":"https://api.github.com/repos/glennjones/microformat-node/issues/34","repository_url":"https://api.github.com/repos/glennjones/microformat-node","labels_url":"https://api.github.com/repos/glennjones/microformat-node/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/glennjones/microformat-node/issues/34/comments","events_url":"https://api.github.com/repos/glennjones/microformat-node/issues/34/events","html_url":"https://github.com/glennjones/microformat-node/issues/34","id":179981171,"number":34,"title":"crash on certain input","user":{"login":"Janpot","id":2109932,"avatar_url":"https://avatars.githubusercontent.com/u/2109932?v=3","gravatar_id":"","url":"https://api.github.com/users/Janpot","html_url":"https://github.com/Janpot","followers_url":"https://api.github.com/users/Janpot/followers","following_url":"https://api.github.com/users/Janpot/following{/other_user}","gists_url":"https://api.github.com/users/Janpot/gists{/gist_id}","starred_url":"https://api.github.com/users/Janpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Janpot/subscriptions","organizations_url":"https://api.github.com/users/Janpot/orgs","repos_url":"https://api.github.com/users/Janpot/repos","events_url":"https://api.github.com/users/Janpot/events{/privacy}","received_events_url":"https://api.github.com/users/Janpot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-29T08:17:55Z","updated_at":"2016-09-29T08:17:55Z","closed_at":null,"body":"following code crashes with a `TypeError: Cannot read property 'replace' of null`:\r\n\r\n    var Microformats = require('microformat-node');\r\n    Microformats.get({\r\n      html: '<div class=\"include item\"></div>'\r\n    }, function (err, data) {\r\n       console.log(err, data);\r\n    });\r\n\r\nalso fails on input:\r\n\r\n    '<div class=\"include\"></div><div class=\"item\"></div>'"}}
{"actor":{"display_login":"Janpot"}}