{"action":"created","comment":{"url":"https://api.github.com/repos/sstur/draft-js-export-html/pulls/comments/102133844","pull_request_review_id":22879432,"id":102133844,"diff_hunk":"@@ -341,7 +340,7 @@ class MarkupGenerator {\n         }\n         return content;\n       }).join('');\n-      let entity = entityKey ? Entity.get(entityKey) : null;\n+      let entity = entityKey ? this.contentState.getEntity(entityKey) : null;","path":"src/stateToHTML.js","position":55,"original_position":55,"commit_id":"3cac02ab6f811ef78f5fedb3be0514e3bdfbf766","original_commit_id":"3cac02ab6f811ef78f5fedb3be0514e3bdfbf766","user":{"login":"mikaelwaltersson","id":1998925,"avatar_url":"https://avatars.githubusercontent.com/u/1998925?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelwaltersson","html_url":"https://github.com/mikaelwaltersson","followers_url":"https://api.github.com/users/mikaelwaltersson/followers","following_url":"https://api.github.com/users/mikaelwaltersson/following{/other_user}","gists_url":"https://api.github.com/users/mikaelwaltersson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelwaltersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelwaltersson/subscriptions","organizations_url":"https://api.github.com/users/mikaelwaltersson/orgs","repos_url":"https://api.github.com/users/mikaelwaltersson/repos","events_url":"https://api.github.com/users/mikaelwaltersson/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelwaltersson/received_events","type":"User","site_admin":false},"body":"https://facebook.github.io/draft-js/docs/v0-10-api-migration.html#content","created_at":"2017-02-21T05:19:32Z","updated_at":"2017-02-21T05:19:32Z","html_url":"https://github.com/sstur/draft-js-export-html/pull/71#discussion_r102133844","pull_request_url":"https://api.github.com/repos/sstur/draft-js-export-html/pulls/71","_links":{"self":{"href":"https://api.github.com/repos/sstur/draft-js-export-html/pulls/comments/102133844"},"html":{"href":"https://github.com/sstur/draft-js-export-html/pull/71#discussion_r102133844"},"pull_request":{"href":"https://api.github.com/repos/sstur/draft-js-export-html/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/sstur/draft-js-export-html/pulls/71","id":106900312,"html_url":"https://github.com/sstur/draft-js-export-html/pull/71","diff_url":"https://github.com/sstur/draft-js-export-html/pull/71.diff","patch_url":"https://github.com/sstur/draft-js-export-html/pull/71.patch","issue_url":"https://api.github.com/repos/sstur/draft-js-export-html/issues/71","number":71,"state":"open","locked":false,"title":"Fix issue #67","user":{"login":"mikaelwaltersson","id":1998925,"avatar_url":"https://avatars.githubusercontent.com/u/1998925?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelwaltersson","html_url":"https://github.com/mikaelwaltersson","followers_url":"https://api.github.com/users/mikaelwaltersson/followers","following_url":"https://api.github.com/users/mikaelwaltersson/following{/other_user}","gists_url":"https://api.github.com/users/mikaelwaltersson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelwaltersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelwaltersson/subscriptions","organizations_url":"https://api.github.com/users/mikaelwaltersson/orgs","repos_url":"https://api.github.com/users/mikaelwaltersson/repos","events_url":"https://api.github.com/users/mikaelwaltersson/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelwaltersson/received_events","type":"User","site_admin":false},"body":"WARNING: DraftEntity.get will be deprecated soon! Please use \"contentState.getEntity\" instead.","created_at":"2017-02-19T13:00:58Z","updated_at":"2017-02-21T05:19:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d43fe5954be1e37a235c72cdff8c251a4e48d3ab","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sstur/draft-js-export-html/pulls/71/commits","review_comments_url":"https://api.github.com/repos/sstur/draft-js-export-html/pulls/71/comments","review_comment_url":"https://api.github.com/repos/sstur/draft-js-export-html/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sstur/draft-js-export-html/issues/71/comments","statuses_url":"https://api.github.com/repos/sstur/draft-js-export-html/statuses/3cac02ab6f811ef78f5fedb3be0514e3bdfbf766","head":{"label":"mikaelwaltersson:master","ref":"master","sha":"3cac02ab6f811ef78f5fedb3be0514e3bdfbf766","user":{"login":"mikaelwaltersson","id":1998925,"avatar_url":"https://avatars.githubusercontent.com/u/1998925?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelwaltersson","html_url":"https://github.com/mikaelwaltersson","followers_url":"https://api.github.com/users/mikaelwaltersson/followers","following_url":"https://api.github.com/users/mikaelwaltersson/following{/other_user}","gists_url":"https://api.github.com/users/mikaelwaltersson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelwaltersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelwaltersson/subscriptions","organizations_url":"https://api.github.com/users/mikaelwaltersson/orgs","repos_url":"https://api.github.com/users/mikaelwaltersson/repos","events_url":"https://api.github.com/users/mikaelwaltersson/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelwaltersson/received_events","type":"User","site_admin":false},"repo":{"id":82458212,"name":"draft-js-export-html","full_name":"mikaelwaltersson/draft-js-export-html","owner":{"login":"mikaelwaltersson","id":1998925,"avatar_url":"https://avatars.githubusercontent.com/u/1998925?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelwaltersson","html_url":"https://github.com/mikaelwaltersson","followers_url":"https://api.github.com/users/mikaelwaltersson/followers","following_url":"https://api.github.com/users/mikaelwaltersson/following{/other_user}","gists_url":"https://api.github.com/users/mikaelwaltersson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelwaltersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelwaltersson/subscriptions","organizations_url":"https://api.github.com/users/mikaelwaltersson/orgs","repos_url":"https://api.github.com/users/mikaelwaltersson/repos","events_url":"https://api.github.com/users/mikaelwaltersson/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelwaltersson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikaelwaltersson/draft-js-export-html","description":"DraftJS: Export ContentState to HTML","fork":true,"url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html","forks_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/forks","keys_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/teams","hooks_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/hooks","issue_events_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/issues/events{/number}","events_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/events","assignees_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/assignees{/user}","branches_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/branches{/branch}","tags_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/tags","blobs_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/statuses/{sha}","languages_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/languages","stargazers_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/stargazers","contributors_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/contributors","subscribers_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/subscribers","subscription_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/subscription","commits_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/contents/{+path}","compare_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/merges","archive_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/downloads","issues_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/issues{/number}","pulls_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/pulls{/number}","milestones_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/milestones{/number}","notifications_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/labels{/name}","releases_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/releases{/id}","deployments_url":"https://api.github.com/repos/mikaelwaltersson/draft-js-export-html/deployments","created_at":"2017-02-19T12:45:00Z","updated_at":"2017-02-19T12:45:02Z","pushed_at":"2017-02-19T13:00:10Z","git_url":"git://github.com/mikaelwaltersson/draft-js-export-html.git","ssh_url":"git@github.com:mikaelwaltersson/draft-js-export-html.git","clone_url":"https://github.com/mikaelwaltersson/draft-js-export-html.git","svn_url":"https://github.com/mikaelwaltersson/draft-js-export-html","homepage":"http://npm.im/draft-js-export-html","size":69,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sstur:master","ref":"master","sha":"8fedbffea3ff2900569dd7a4fb8c1afc994b9678","user":{"login":"sstur","id":369384,"avatar_url":"https://avatars.githubusercontent.com/u/369384?v=3","gravatar_id":"","url":"https://api.github.com/users/sstur","html_url":"https://github.com/sstur","followers_url":"https://api.github.com/users/sstur/followers","following_url":"https://api.github.com/users/sstur/following{/other_user}","gists_url":"https://api.github.com/users/sstur/gists{/gist_id}","starred_url":"https://api.github.com/users/sstur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstur/subscriptions","organizations_url":"https://api.github.com/users/sstur/orgs","repos_url":"https://api.github.com/users/sstur/repos","events_url":"https://api.github.com/users/sstur/events{/privacy}","received_events_url":"https://api.github.com/users/sstur/received_events","type":"User","site_admin":false},"repo":{"id":53662560,"name":"draft-js-export-html","full_name":"sstur/draft-js-export-html","owner":{"login":"sstur","id":369384,"avatar_url":"https://avatars.githubusercontent.com/u/369384?v=3","gravatar_id":"","url":"https://api.github.com/users/sstur","html_url":"https://github.com/sstur","followers_url":"https://api.github.com/users/sstur/followers","following_url":"https://api.github.com/users/sstur/following{/other_user}","gists_url":"https://api.github.com/users/sstur/gists{/gist_id}","starred_url":"https://api.github.com/users/sstur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstur/subscriptions","organizations_url":"https://api.github.com/users/sstur/orgs","repos_url":"https://api.github.com/users/sstur/repos","events_url":"https://api.github.com/users/sstur/events{/privacy}","received_events_url":"https://api.github.com/users/sstur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sstur/draft-js-export-html","description":"DraftJS: Export ContentState to HTML","fork":false,"url":"https://api.github.com/repos/sstur/draft-js-export-html","forks_url":"https://api.github.com/repos/sstur/draft-js-export-html/forks","keys_url":"https://api.github.com/repos/sstur/draft-js-export-html/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sstur/draft-js-export-html/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sstur/draft-js-export-html/teams","hooks_url":"https://api.github.com/repos/sstur/draft-js-export-html/hooks","issue_events_url":"https://api.github.com/repos/sstur/draft-js-export-html/issues/events{/number}","events_url":"https://api.github.com/repos/sstur/draft-js-export-html/events","assignees_url":"https://api.github.com/repos/sstur/draft-js-export-html/assignees{/user}","branches_url":"https://api.github.com/repos/sstur/draft-js-export-html/branches{/branch}","tags_url":"https://api.github.com/repos/sstur/draft-js-export-html/tags","blobs_url":"https://api.github.com/repos/sstur/draft-js-export-html/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sstur/draft-js-export-html/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sstur/draft-js-export-html/git/refs{/sha}","trees_url":"https://api.github.com/repos/sstur/draft-js-export-html/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sstur/draft-js-export-html/statuses/{sha}","languages_url":"https://api.github.com/repos/sstur/draft-js-export-html/languages","stargazers_url":"https://api.github.com/repos/sstur/draft-js-export-html/stargazers","contributors_url":"https://api.github.com/repos/sstur/draft-js-export-html/contributors","subscribers_url":"https://api.github.com/repos/sstur/draft-js-export-html/subscribers","subscription_url":"https://api.github.com/repos/sstur/draft-js-export-html/subscription","commits_url":"https://api.github.com/repos/sstur/draft-js-export-html/commits{/sha}","git_commits_url":"https://api.github.com/repos/sstur/draft-js-export-html/git/commits{/sha}","comments_url":"https://api.github.com/repos/sstur/draft-js-export-html/comments{/number}","issue_comment_url":"https://api.github.com/repos/sstur/draft-js-export-html/issues/comments{/number}","contents_url":"https://api.github.com/repos/sstur/draft-js-export-html/contents/{+path}","compare_url":"https://api.github.com/repos/sstur/draft-js-export-html/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sstur/draft-js-export-html/merges","archive_url":"https://api.github.com/repos/sstur/draft-js-export-html/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sstur/draft-js-export-html/downloads","issues_url":"https://api.github.com/repos/sstur/draft-js-export-html/issues{/number}","pulls_url":"https://api.github.com/repos/sstur/draft-js-export-html/pulls{/number}","milestones_url":"https://api.github.com/repos/sstur/draft-js-export-html/milestones{/number}","notifications_url":"https://api.github.com/repos/sstur/draft-js-export-html/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sstur/draft-js-export-html/labels{/name}","releases_url":"https://api.github.com/repos/sstur/draft-js-export-html/releases{/id}","deployments_url":"https://api.github.com/repos/sstur/draft-js-export-html/deployments","created_at":"2016-03-11T11:28:42Z","updated_at":"2017-02-20T19:45:47Z","pushed_at":"2017-02-19T13:00:58Z","git_url":"git://github.com/sstur/draft-js-export-html.git","ssh_url":"git@github.com:sstur/draft-js-export-html.git","clone_url":"https://github.com/sstur/draft-js-export-html.git","svn_url":"https://github.com/sstur/draft-js-export-html","homepage":"http://npm.im/draft-js-export-html","size":116,"stargazers_count":240,"watchers_count":240,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":89,"mirror_url":null,"open_issues_count":27,"forks":89,"open_issues":27,"watchers":240,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sstur/draft-js-export-html/pulls/71"},"html":{"href":"https://github.com/sstur/draft-js-export-html/pull/71"},"issue":{"href":"https://api.github.com/repos/sstur/draft-js-export-html/issues/71"},"comments":{"href":"https://api.github.com/repos/sstur/draft-js-export-html/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/sstur/draft-js-export-html/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/sstur/draft-js-export-html/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sstur/draft-js-export-html/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/sstur/draft-js-export-html/statuses/3cac02ab6f811ef78f5fedb3be0514e3bdfbf766"}}}}
{"actor":{"display_login":"mikaelwaltersson"}}