{"action":"opened","number":86,"pull_request":{"url":"https://api.github.com/repos/nymag/text-model/pulls/86","id":77501288,"html_url":"https://github.com/nymag/text-model/pull/86","diff_url":"https://github.com/nymag/text-model/pull/86.diff","patch_url":"https://github.com/nymag/text-model/pull/86.patch","issue_url":"https://api.github.com/repos/nymag/text-model/issues/86","number":86,"state":"open","locked":false,"title":"don't decode html entities when parsing text","user":{"login":"yoshokatana","id":447522,"avatar_url":"https://avatars.githubusercontent.com/u/447522?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshokatana","html_url":"https://github.com/yoshokatana","followers_url":"https://api.github.com/users/yoshokatana/followers","following_url":"https://api.github.com/users/yoshokatana/following{/other_user}","gists_url":"https://api.github.com/users/yoshokatana/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshokatana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshokatana/subscriptions","organizations_url":"https://api.github.com/users/yoshokatana/orgs","repos_url":"https://api.github.com/users/yoshokatana/repos","events_url":"https://api.github.com/users/yoshokatana/events{/privacy}","received_events_url":"https://api.github.com/users/yoshokatana/received_events","type":"User","site_admin":false},"body":"when parsing text nodes, don't try to decode html entities. this is a security flaw that would allow html elements that were not allowed via `tagTypes`","created_at":"2016-07-14T18:19:43Z","updated_at":"2016-07-14T18:19:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7a6ef5715ddc89bf4a6c91233498fb2e8dbb1c5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nymag/text-model/pulls/86/commits","review_comments_url":"https://api.github.com/repos/nymag/text-model/pulls/86/comments","review_comment_url":"https://api.github.com/repos/nymag/text-model/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nymag/text-model/issues/86/comments","statuses_url":"https://api.github.com/repos/nymag/text-model/statuses/cf8fdcf3070663dacf7d183435a626cd60c68c2b","head":{"label":"nymag:catch-html","ref":"catch-html","sha":"cf8fdcf3070663dacf7d183435a626cd60c68c2b","user":{"login":"nymag","id":1136688,"avatar_url":"https://avatars.githubusercontent.com/u/1136688?v=3","gravatar_id":"","url":"https://api.github.com/users/nymag","html_url":"https://github.com/nymag","followers_url":"https://api.github.com/users/nymag/followers","following_url":"https://api.github.com/users/nymag/following{/other_user}","gists_url":"https://api.github.com/users/nymag/gists{/gist_id}","starred_url":"https://api.github.com/users/nymag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nymag/subscriptions","organizations_url":"https://api.github.com/users/nymag/orgs","repos_url":"https://api.github.com/users/nymag/repos","events_url":"https://api.github.com/users/nymag/events{/privacy}","received_events_url":"https://api.github.com/users/nymag/received_events","type":"Organization","site_admin":false},"repo":{"id":40620241,"name":"text-model","full_name":"nymag/text-model","owner":{"login":"nymag","id":1136688,"avatar_url":"https://avatars.githubusercontent.com/u/1136688?v=3","gravatar_id":"","url":"https://api.github.com/users/nymag","html_url":"https://github.com/nymag","followers_url":"https://api.github.com/users/nymag/followers","following_url":"https://api.github.com/users/nymag/following{/other_user}","gists_url":"https://api.github.com/users/nymag/gists{/gist_id}","starred_url":"https://api.github.com/users/nymag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nymag/subscriptions","organizations_url":"https://api.github.com/users/nymag/orgs","repos_url":"https://api.github.com/users/nymag/repos","events_url":"https://api.github.com/users/nymag/events{/privacy}","received_events_url":"https://api.github.com/users/nymag/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nymag/text-model","description":"A representational text model","fork":false,"url":"https://api.github.com/repos/nymag/text-model","forks_url":"https://api.github.com/repos/nymag/text-model/forks","keys_url":"https://api.github.com/repos/nymag/text-model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nymag/text-model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nymag/text-model/teams","hooks_url":"https://api.github.com/repos/nymag/text-model/hooks","issue_events_url":"https://api.github.com/repos/nymag/text-model/issues/events{/number}","events_url":"https://api.github.com/repos/nymag/text-model/events","assignees_url":"https://api.github.com/repos/nymag/text-model/assignees{/user}","branches_url":"https://api.github.com/repos/nymag/text-model/branches{/branch}","tags_url":"https://api.github.com/repos/nymag/text-model/tags","blobs_url":"https://api.github.com/repos/nymag/text-model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nymag/text-model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nymag/text-model/git/refs{/sha}","trees_url":"https://api.github.com/repos/nymag/text-model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nymag/text-model/statuses/{sha}","languages_url":"https://api.github.com/repos/nymag/text-model/languages","stargazers_url":"https://api.github.com/repos/nymag/text-model/stargazers","contributors_url":"https://api.github.com/repos/nymag/text-model/contributors","subscribers_url":"https://api.github.com/repos/nymag/text-model/subscribers","subscription_url":"https://api.github.com/repos/nymag/text-model/subscription","commits_url":"https://api.github.com/repos/nymag/text-model/commits{/sha}","git_commits_url":"https://api.github.com/repos/nymag/text-model/git/commits{/sha}","comments_url":"https://api.github.com/repos/nymag/text-model/comments{/number}","issue_comment_url":"https://api.github.com/repos/nymag/text-model/issues/comments{/number}","contents_url":"https://api.github.com/repos/nymag/text-model/contents/{+path}","compare_url":"https://api.github.com/repos/nymag/text-model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nymag/text-model/merges","archive_url":"https://api.github.com/repos/nymag/text-model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nymag/text-model/downloads","issues_url":"https://api.github.com/repos/nymag/text-model/issues{/number}","pulls_url":"https://api.github.com/repos/nymag/text-model/pulls{/number}","milestones_url":"https://api.github.com/repos/nymag/text-model/milestones{/number}","notifications_url":"https://api.github.com/repos/nymag/text-model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nymag/text-model/labels{/name}","releases_url":"https://api.github.com/repos/nymag/text-model/releases{/id}","deployments_url":"https://api.github.com/repos/nymag/text-model/deployments","created_at":"2015-08-12T19:32:59Z","updated_at":"2016-06-18T15:46:10Z","pushed_at":"2016-07-14T18:19:43Z","git_url":"git://github.com/nymag/text-model.git","ssh_url":"git@github.com:nymag/text-model.git","clone_url":"https://github.com/nymag/text-model.git","svn_url":"https://github.com/nymag/text-model","homepage":null,"size":47,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":8,"default_branch":"master"}},"base":{"label":"nymag:master","ref":"master","sha":"4d24fb7461e0137c0b9e01baea140a3b9e3ac904","user":{"login":"nymag","id":1136688,"avatar_url":"https://avatars.githubusercontent.com/u/1136688?v=3","gravatar_id":"","url":"https://api.github.com/users/nymag","html_url":"https://github.com/nymag","followers_url":"https://api.github.com/users/nymag/followers","following_url":"https://api.github.com/users/nymag/following{/other_user}","gists_url":"https://api.github.com/users/nymag/gists{/gist_id}","starred_url":"https://api.github.com/users/nymag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nymag/subscriptions","organizations_url":"https://api.github.com/users/nymag/orgs","repos_url":"https://api.github.com/users/nymag/repos","events_url":"https://api.github.com/users/nymag/events{/privacy}","received_events_url":"https://api.github.com/users/nymag/received_events","type":"Organization","site_admin":false},"repo":{"id":40620241,"name":"text-model","full_name":"nymag/text-model","owner":{"login":"nymag","id":1136688,"avatar_url":"https://avatars.githubusercontent.com/u/1136688?v=3","gravatar_id":"","url":"https://api.github.com/users/nymag","html_url":"https://github.com/nymag","followers_url":"https://api.github.com/users/nymag/followers","following_url":"https://api.github.com/users/nymag/following{/other_user}","gists_url":"https://api.github.com/users/nymag/gists{/gist_id}","starred_url":"https://api.github.com/users/nymag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nymag/subscriptions","organizations_url":"https://api.github.com/users/nymag/orgs","repos_url":"https://api.github.com/users/nymag/repos","events_url":"https://api.github.com/users/nymag/events{/privacy}","received_events_url":"https://api.github.com/users/nymag/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nymag/text-model","description":"A representational text model","fork":false,"url":"https://api.github.com/repos/nymag/text-model","forks_url":"https://api.github.com/repos/nymag/text-model/forks","keys_url":"https://api.github.com/repos/nymag/text-model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nymag/text-model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nymag/text-model/teams","hooks_url":"https://api.github.com/repos/nymag/text-model/hooks","issue_events_url":"https://api.github.com/repos/nymag/text-model/issues/events{/number}","events_url":"https://api.github.com/repos/nymag/text-model/events","assignees_url":"https://api.github.com/repos/nymag/text-model/assignees{/user}","branches_url":"https://api.github.com/repos/nymag/text-model/branches{/branch}","tags_url":"https://api.github.com/repos/nymag/text-model/tags","blobs_url":"https://api.github.com/repos/nymag/text-model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nymag/text-model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nymag/text-model/git/refs{/sha}","trees_url":"https://api.github.com/repos/nymag/text-model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nymag/text-model/statuses/{sha}","languages_url":"https://api.github.com/repos/nymag/text-model/languages","stargazers_url":"https://api.github.com/repos/nymag/text-model/stargazers","contributors_url":"https://api.github.com/repos/nymag/text-model/contributors","subscribers_url":"https://api.github.com/repos/nymag/text-model/subscribers","subscription_url":"https://api.github.com/repos/nymag/text-model/subscription","commits_url":"https://api.github.com/repos/nymag/text-model/commits{/sha}","git_commits_url":"https://api.github.com/repos/nymag/text-model/git/commits{/sha}","comments_url":"https://api.github.com/repos/nymag/text-model/comments{/number}","issue_comment_url":"https://api.github.com/repos/nymag/text-model/issues/comments{/number}","contents_url":"https://api.github.com/repos/nymag/text-model/contents/{+path}","compare_url":"https://api.github.com/repos/nymag/text-model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nymag/text-model/merges","archive_url":"https://api.github.com/repos/nymag/text-model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nymag/text-model/downloads","issues_url":"https://api.github.com/repos/nymag/text-model/issues{/number}","pulls_url":"https://api.github.com/repos/nymag/text-model/pulls{/number}","milestones_url":"https://api.github.com/repos/nymag/text-model/milestones{/number}","notifications_url":"https://api.github.com/repos/nymag/text-model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nymag/text-model/labels{/name}","releases_url":"https://api.github.com/repos/nymag/text-model/releases{/id}","deployments_url":"https://api.github.com/repos/nymag/text-model/deployments","created_at":"2015-08-12T19:32:59Z","updated_at":"2016-06-18T15:46:10Z","pushed_at":"2016-07-14T18:19:43Z","git_url":"git://github.com/nymag/text-model.git","ssh_url":"git@github.com:nymag/text-model.git","clone_url":"https://github.com/nymag/text-model.git","svn_url":"https://github.com/nymag/text-model","homepage":null,"size":47,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nymag/text-model/pulls/86"},"html":{"href":"https://github.com/nymag/text-model/pull/86"},"issue":{"href":"https://api.github.com/repos/nymag/text-model/issues/86"},"comments":{"href":"https://api.github.com/repos/nymag/text-model/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/nymag/text-model/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/nymag/text-model/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nymag/text-model/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/nymag/text-model/statuses/cf8fdcf3070663dacf7d183435a626cd60c68c2b"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"yoshokatana"}}