{"action":"opened","number":28,"pull_request":{"url":"https://api.github.com/repos/HubSpot/draft-convert/pulls/28","id":99470524,"html_url":"https://github.com/HubSpot/draft-convert/pull/28","diff_url":"https://github.com/HubSpot/draft-convert/pull/28.diff","patch_url":"https://github.com/HubSpot/draft-convert/pull/28.patch","issue_url":"https://api.github.com/repos/HubSpot/draft-convert/issues/28","number":28,"state":"open","locked":false,"title":"handle BR tags within list items by converting them to newlines","user":{"login":"benbriggs","id":1313497,"avatar_url":"https://avatars.githubusercontent.com/u/1313497?v=3","gravatar_id":"","url":"https://api.github.com/users/benbriggs","html_url":"https://github.com/benbriggs","followers_url":"https://api.github.com/users/benbriggs/followers","following_url":"https://api.github.com/users/benbriggs/following{/other_user}","gists_url":"https://api.github.com/users/benbriggs/gists{/gist_id}","starred_url":"https://api.github.com/users/benbriggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbriggs/subscriptions","organizations_url":"https://api.github.com/users/benbriggs/orgs","repos_url":"https://api.github.com/users/benbriggs/repos","events_url":"https://api.github.com/users/benbriggs/events{/privacy}","received_events_url":"https://api.github.com/users/benbriggs/received_events","type":"User","site_admin":false},"body":"Fixes #22 \r\n\r\nWhen splitting out `<br>` tags add a special case to replace the tag with a `\\n` character to keep the block intact. I think list types are the only major types of blocks where this needs to be done, but I'd be interested in hearing more cases.","created_at":"2016-12-27T18:17:29Z","updated_at":"2016-12-27T18:17:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/HubSpot/draft-convert/pulls/28/commits","review_comments_url":"https://api.github.com/repos/HubSpot/draft-convert/pulls/28/comments","review_comment_url":"https://api.github.com/repos/HubSpot/draft-convert/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HubSpot/draft-convert/issues/28/comments","statuses_url":"https://api.github.com/repos/HubSpot/draft-convert/statuses/65a4ab0a579605274c3a715686e7984cf0d1b4bd","head":{"label":"HubSpot:list-item-br-tags","ref":"list-item-br-tags","sha":"65a4ab0a579605274c3a715686e7984cf0d1b4bd","user":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"repo":{"id":62980900,"name":"draft-convert","full_name":"HubSpot/draft-convert","owner":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HubSpot/draft-convert","description":"Extensibly serialize & deserialize Draft.js ContentState with HTML.","fork":false,"url":"https://api.github.com/repos/HubSpot/draft-convert","forks_url":"https://api.github.com/repos/HubSpot/draft-convert/forks","keys_url":"https://api.github.com/repos/HubSpot/draft-convert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HubSpot/draft-convert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HubSpot/draft-convert/teams","hooks_url":"https://api.github.com/repos/HubSpot/draft-convert/hooks","issue_events_url":"https://api.github.com/repos/HubSpot/draft-convert/issues/events{/number}","events_url":"https://api.github.com/repos/HubSpot/draft-convert/events","assignees_url":"https://api.github.com/repos/HubSpot/draft-convert/assignees{/user}","branches_url":"https://api.github.com/repos/HubSpot/draft-convert/branches{/branch}","tags_url":"https://api.github.com/repos/HubSpot/draft-convert/tags","blobs_url":"https://api.github.com/repos/HubSpot/draft-convert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HubSpot/draft-convert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HubSpot/draft-convert/git/refs{/sha}","trees_url":"https://api.github.com/repos/HubSpot/draft-convert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HubSpot/draft-convert/statuses/{sha}","languages_url":"https://api.github.com/repos/HubSpot/draft-convert/languages","stargazers_url":"https://api.github.com/repos/HubSpot/draft-convert/stargazers","contributors_url":"https://api.github.com/repos/HubSpot/draft-convert/contributors","subscribers_url":"https://api.github.com/repos/HubSpot/draft-convert/subscribers","subscription_url":"https://api.github.com/repos/HubSpot/draft-convert/subscription","commits_url":"https://api.github.com/repos/HubSpot/draft-convert/commits{/sha}","git_commits_url":"https://api.github.com/repos/HubSpot/draft-convert/git/commits{/sha}","comments_url":"https://api.github.com/repos/HubSpot/draft-convert/comments{/number}","issue_comment_url":"https://api.github.com/repos/HubSpot/draft-convert/issues/comments{/number}","contents_url":"https://api.github.com/repos/HubSpot/draft-convert/contents/{+path}","compare_url":"https://api.github.com/repos/HubSpot/draft-convert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HubSpot/draft-convert/merges","archive_url":"https://api.github.com/repos/HubSpot/draft-convert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HubSpot/draft-convert/downloads","issues_url":"https://api.github.com/repos/HubSpot/draft-convert/issues{/number}","pulls_url":"https://api.github.com/repos/HubSpot/draft-convert/pulls{/number}","milestones_url":"https://api.github.com/repos/HubSpot/draft-convert/milestones{/number}","notifications_url":"https://api.github.com/repos/HubSpot/draft-convert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HubSpot/draft-convert/labels{/name}","releases_url":"https://api.github.com/repos/HubSpot/draft-convert/releases{/id}","deployments_url":"https://api.github.com/repos/HubSpot/draft-convert/deployments","created_at":"2016-07-10T04:08:10Z","updated_at":"2016-12-26T18:13:37Z","pushed_at":"2016-12-27T18:13:37Z","git_url":"git://github.com/HubSpot/draft-convert.git","ssh_url":"git@github.com:HubSpot/draft-convert.git","clone_url":"https://github.com/HubSpot/draft-convert.git","svn_url":"https://github.com/HubSpot/draft-convert","homepage":null,"size":73,"stargazers_count":61,"watchers_count":61,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":12,"forks":10,"open_issues":12,"watchers":61,"default_branch":"master"}},"base":{"label":"HubSpot:master","ref":"master","sha":"d11b38a09bc7083abc47c73eead8bf59cb26cad0","user":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"repo":{"id":62980900,"name":"draft-convert","full_name":"HubSpot/draft-convert","owner":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HubSpot/draft-convert","description":"Extensibly serialize & deserialize Draft.js ContentState with HTML.","fork":false,"url":"https://api.github.com/repos/HubSpot/draft-convert","forks_url":"https://api.github.com/repos/HubSpot/draft-convert/forks","keys_url":"https://api.github.com/repos/HubSpot/draft-convert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HubSpot/draft-convert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HubSpot/draft-convert/teams","hooks_url":"https://api.github.com/repos/HubSpot/draft-convert/hooks","issue_events_url":"https://api.github.com/repos/HubSpot/draft-convert/issues/events{/number}","events_url":"https://api.github.com/repos/HubSpot/draft-convert/events","assignees_url":"https://api.github.com/repos/HubSpot/draft-convert/assignees{/user}","branches_url":"https://api.github.com/repos/HubSpot/draft-convert/branches{/branch}","tags_url":"https://api.github.com/repos/HubSpot/draft-convert/tags","blobs_url":"https://api.github.com/repos/HubSpot/draft-convert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HubSpot/draft-convert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HubSpot/draft-convert/git/refs{/sha}","trees_url":"https://api.github.com/repos/HubSpot/draft-convert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HubSpot/draft-convert/statuses/{sha}","languages_url":"https://api.github.com/repos/HubSpot/draft-convert/languages","stargazers_url":"https://api.github.com/repos/HubSpot/draft-convert/stargazers","contributors_url":"https://api.github.com/repos/HubSpot/draft-convert/contributors","subscribers_url":"https://api.github.com/repos/HubSpot/draft-convert/subscribers","subscription_url":"https://api.github.com/repos/HubSpot/draft-convert/subscription","commits_url":"https://api.github.com/repos/HubSpot/draft-convert/commits{/sha}","git_commits_url":"https://api.github.com/repos/HubSpot/draft-convert/git/commits{/sha}","comments_url":"https://api.github.com/repos/HubSpot/draft-convert/comments{/number}","issue_comment_url":"https://api.github.com/repos/HubSpot/draft-convert/issues/comments{/number}","contents_url":"https://api.github.com/repos/HubSpot/draft-convert/contents/{+path}","compare_url":"https://api.github.com/repos/HubSpot/draft-convert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HubSpot/draft-convert/merges","archive_url":"https://api.github.com/repos/HubSpot/draft-convert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HubSpot/draft-convert/downloads","issues_url":"https://api.github.com/repos/HubSpot/draft-convert/issues{/number}","pulls_url":"https://api.github.com/repos/HubSpot/draft-convert/pulls{/number}","milestones_url":"https://api.github.com/repos/HubSpot/draft-convert/milestones{/number}","notifications_url":"https://api.github.com/repos/HubSpot/draft-convert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HubSpot/draft-convert/labels{/name}","releases_url":"https://api.github.com/repos/HubSpot/draft-convert/releases{/id}","deployments_url":"https://api.github.com/repos/HubSpot/draft-convert/deployments","created_at":"2016-07-10T04:08:10Z","updated_at":"2016-12-26T18:13:37Z","pushed_at":"2016-12-27T18:13:37Z","git_url":"git://github.com/HubSpot/draft-convert.git","ssh_url":"git@github.com:HubSpot/draft-convert.git","clone_url":"https://github.com/HubSpot/draft-convert.git","svn_url":"https://github.com/HubSpot/draft-convert","homepage":null,"size":73,"stargazers_count":61,"watchers_count":61,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":12,"forks":10,"open_issues":12,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HubSpot/draft-convert/pulls/28"},"html":{"href":"https://github.com/HubSpot/draft-convert/pull/28"},"issue":{"href":"https://api.github.com/repos/HubSpot/draft-convert/issues/28"},"comments":{"href":"https://api.github.com/repos/HubSpot/draft-convert/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/HubSpot/draft-convert/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/HubSpot/draft-convert/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HubSpot/draft-convert/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/HubSpot/draft-convert/statuses/65a4ab0a579605274c3a715686e7984cf0d1b4bd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":35,"deletions":14,"changed_files":2}}
{"actor":{"display_login":"benbriggs"}}