{"action":"opened","number":337,"pull_request":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/pulls/337","id":65719152,"html_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android/pull/337","diff_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android/pull/337.diff","patch_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android/pull/337.patch","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/337","number":337,"state":"open","locked":false,"title":"Issue #336: Fix paragraph layout when inserting media","user":{"login":"aforcier","id":9613966,"avatar_url":"https://avatars.githubusercontent.com/u/9613966?v=3","gravatar_id":"","url":"https://api.github.com/users/aforcier","html_url":"https://github.com/aforcier","followers_url":"https://api.github.com/users/aforcier/followers","following_url":"https://api.github.com/users/aforcier/following{/other_user}","gists_url":"https://api.github.com/users/aforcier/gists{/gist_id}","starred_url":"https://api.github.com/users/aforcier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aforcier/subscriptions","organizations_url":"https://api.github.com/users/aforcier/orgs","repos_url":"https://api.github.com/users/aforcier/repos","events_url":"https://api.github.com/users/aforcier/events{/privacy}","received_events_url":"https://api.github.com/users/aforcier/received_events","type":"User","site_admin":false},"body":"Fixes #336, changing paragraph handling to work around the WebView's strictness with divs. The bug was introduced by the change from `p` tags to `div` tags in https://github.com/wordpress-mobile/WordPress-Editor-Android/pull/334.\r\n\r\nThis change should keep text added after images in a separate paragraph at the same DOM hierarchy level, rather than nesting them inside the image's own paragraph (also applies to video, and galleries).\r\n\r\ncc @maxme","created_at":"2016-04-08T00:03:17Z","updated_at":"2016-04-08T00:03:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/milestones/11","html_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android/milestones/0.9","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/milestones/11/labels","id":1622665,"number":11,"title":"0.9","description":"","creator":{"login":"maxme","id":40213,"avatar_url":"https://avatars.githubusercontent.com/u/40213?v=3","gravatar_id":"","url":"https://api.github.com/users/maxme","html_url":"https://github.com/maxme","followers_url":"https://api.github.com/users/maxme/followers","following_url":"https://api.github.com/users/maxme/following{/other_user}","gists_url":"https://api.github.com/users/maxme/gists{/gist_id}","starred_url":"https://api.github.com/users/maxme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxme/subscriptions","organizations_url":"https://api.github.com/users/maxme/orgs","repos_url":"https://api.github.com/users/maxme/repos","events_url":"https://api.github.com/users/maxme/events{/privacy}","received_events_url":"https://api.github.com/users/maxme/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":6,"state":"open","created_at":"2016-03-04T16:46:05Z","updated_at":"2016-04-08T00:03:17Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/pulls/337/commits","review_comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/pulls/337/comments","review_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/337/comments","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/statuses/767f36f3dcceca990ecebada80d5a647908b8a3f","head":{"label":"wordpress-mobile:issue/336-media-insert-paragraph-fix","ref":"issue/336-media-insert-paragraph-fix","sha":"767f36f3dcceca990ecebada80d5a647908b8a3f","user":{"login":"wordpress-mobile","id":1306301,"avatar_url":"https://avatars.githubusercontent.com/u/1306301?v=3","gravatar_id":"","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"repo":{"id":30292255,"name":"WordPress-Editor-Android","full_name":"wordpress-mobile/WordPress-Editor-Android","owner":{"login":"wordpress-mobile","id":1306301,"avatar_url":"https://avatars.githubusercontent.com/u/1306301?v=3","gravatar_id":"","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android","description":"A reusable Android rich text editor component.","fork":false,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android","forks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/forks","keys_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/teams","hooks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/hooks","issue_events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/events{/number}","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/events","assignees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/assignees{/user}","branches_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/branches{/branch}","tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/tags","blobs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/languages","stargazers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/stargazers","contributors_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/contributors","subscribers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/subscribers","subscription_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/subscription","commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/contents/{+path}","compare_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/merges","archive_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/downloads","issues_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues{/number}","pulls_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/labels{/name}","releases_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/releases{/id}","deployments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/deployments","created_at":"2015-02-04T09:54:16Z","updated_at":"2016-03-19T11:16:38Z","pushed_at":"2016-04-07T23:59:06Z","git_url":"git://github.com/wordpress-mobile/WordPress-Editor-Android.git","ssh_url":"git@github.com:wordpress-mobile/WordPress-Editor-Android.git","clone_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android.git","svn_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android","homepage":"","size":2772,"stargazers_count":54,"watchers_count":54,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":95,"forks":18,"open_issues":95,"watchers":54,"default_branch":"develop"}},"base":{"label":"wordpress-mobile:develop","ref":"develop","sha":"0f6fba8fc434c4007c7cdd300c4dd9fa2df5a218","user":{"login":"wordpress-mobile","id":1306301,"avatar_url":"https://avatars.githubusercontent.com/u/1306301?v=3","gravatar_id":"","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"repo":{"id":30292255,"name":"WordPress-Editor-Android","full_name":"wordpress-mobile/WordPress-Editor-Android","owner":{"login":"wordpress-mobile","id":1306301,"avatar_url":"https://avatars.githubusercontent.com/u/1306301?v=3","gravatar_id":"","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android","description":"A reusable Android rich text editor component.","fork":false,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android","forks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/forks","keys_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/teams","hooks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/hooks","issue_events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/events{/number}","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/events","assignees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/assignees{/user}","branches_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/branches{/branch}","tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/tags","blobs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/languages","stargazers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/stargazers","contributors_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/contributors","subscribers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/subscribers","subscription_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/subscription","commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/contents/{+path}","compare_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/merges","archive_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/downloads","issues_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues{/number}","pulls_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/labels{/name}","releases_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/releases{/id}","deployments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/deployments","created_at":"2015-02-04T09:54:16Z","updated_at":"2016-03-19T11:16:38Z","pushed_at":"2016-04-07T23:59:06Z","git_url":"git://github.com/wordpress-mobile/WordPress-Editor-Android.git","ssh_url":"git@github.com:wordpress-mobile/WordPress-Editor-Android.git","clone_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android.git","svn_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android","homepage":"","size":2772,"stargazers_count":54,"watchers_count":54,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":95,"forks":18,"open_issues":95,"watchers":54,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/pulls/337"},"html":{"href":"https://github.com/wordpress-mobile/WordPress-Editor-Android/pull/337"},"issue":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/337"},"comments":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/337/comments"},"review_comments":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/pulls/337/comments"},"review_comment":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/pulls/337/commits"},"statuses":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/statuses/767f36f3dcceca990ecebada80d5a647908b8a3f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":24,"deletions":12,"changed_files":1}}