{"action":"created","issue":{"url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/57","labels_url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/57/comments","events_url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/57/events","html_url":"https://github.com/ProseMirror/prosemirror/issues/57","id":112950924,"number":57,"title":"pm.getContent(\"html\") produces type error","user":{"login":"ericandrewlewis","id":1087646,"avatar_url":"https://avatars.githubusercontent.com/u/1087646?v=3","gravatar_id":"","url":"https://api.github.com/users/ericandrewlewis","html_url":"https://github.com/ericandrewlewis","followers_url":"https://api.github.com/users/ericandrewlewis/followers","following_url":"https://api.github.com/users/ericandrewlewis/following{/other_user}","gists_url":"https://api.github.com/users/ericandrewlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/ericandrewlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericandrewlewis/subscriptions","organizations_url":"https://api.github.com/users/ericandrewlewis/orgs","repos_url":"https://api.github.com/users/ericandrewlewis/repos","events_url":"https://api.github.com/users/ericandrewlewis/events{/privacy}","received_events_url":"https://api.github.com/users/ericandrewlewis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-23T04:50:58Z","updated_at":"2015-10-27T08:48:27Z","closed_at":"2015-10-23T07:27:33Z","body":"```\r\nUncaught TypeError: Cannot read property 'document' of undefined(…)\r\ntoHTML\t@\tdom.js:18\r\nconvertTo\t@\tindex.js:6\r\ngetContent\t@\tmain.js:99\r\n(anonymous function)\t@\tVM739:2\r\nInjectedScript._evaluateOn\t@\tVM738:875\r\nInjectedScript._evaluateAndWrap\t@\tVM738:808\r\nInjectedScript.evaluate\t@\tVM738:664\r\n```\r\n\r\nThis is because `document` is not passed to `convertTo()` since [`1a4c78a9`](https://github.com/ProseMirror/prosemirror/commit/1a4c78a9#diff-6d57d9a3919bd91bada750125b91289fL81)."},"comment":{"url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/comments/151416101","html_url":"https://github.com/ProseMirror/prosemirror/issues/57#issuecomment-151416101","issue_url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/57","id":151416101,"user":{"login":"marijnh","id":144427,"avatar_url":"https://avatars.githubusercontent.com/u/144427?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnh","html_url":"https://github.com/marijnh","followers_url":"https://api.github.com/users/marijnh/followers","following_url":"https://api.github.com/users/marijnh/following{/other_user}","gists_url":"https://api.github.com/users/marijnh/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnh/subscriptions","organizations_url":"https://api.github.com/users/marijnh/orgs","repos_url":"https://api.github.com/users/marijnh/repos","events_url":"https://api.github.com/users/marijnh/events{/privacy}","received_events_url":"https://api.github.com/users/marijnh/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T08:48:27Z","updated_at":"2015-10-27T08:48:27Z","body":"Should be better with bf10066"}}