{"action":"closed","issue":{"url":"https://api.github.com/repos/wordpress-mobile/AztecEditor-iOS/issues/993","repository_url":"https://api.github.com/repos/wordpress-mobile/AztecEditor-iOS","labels_url":"https://api.github.com/repos/wordpress-mobile/AztecEditor-iOS/issues/993/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/AztecEditor-iOS/issues/993/comments","events_url":"https://api.github.com/repos/wordpress-mobile/AztecEditor-iOS/issues/993/events","html_url":"https://github.com/wordpress-mobile/AztecEditor-iOS/issues/993","id":333849382,"node_id":"MDU6SXNzdWUzMzM4NDkzODI=","number":993,"title":"Gutenberg code blocks are being broken by Aztec.","user":{"login":"diegoreymendez","id":1836005,"node_id":"MDQ6VXNlcjE4MzYwMDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1836005?v=4","gravatar_id":"","url":"https://api.github.com/users/diegoreymendez","html_url":"https://github.com/diegoreymendez","followers_url":"https://api.github.com/users/diegoreymendez/followers","following_url":"https://api.github.com/users/diegoreymendez/following{/other_user}","gists_url":"https://api.github.com/users/diegoreymendez/gists{/gist_id}","starred_url":"https://api.github.com/users/diegoreymendez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegoreymendez/subscriptions","organizations_url":"https://api.github.com/users/diegoreymendez/orgs","repos_url":"https://api.github.com/users/diegoreymendez/repos","events_url":"https://api.github.com/users/diegoreymendez/events{/privacy}","received_events_url":"https://api.github.com/users/diegoreymendez/received_events","type":"User","site_admin":false},"labels":[{"id":963792828,"node_id":"MDU6TGFiZWw5NjM3OTI4Mjg=","url":"https://api.github.com/repos/wordpress-mobile/AztecEditor-iOS/labels/Gutenberg%20Compatibility","name":"Gutenberg Compatibility","color":"88e1f7","default":false},{"id":939855881,"node_id":"MDU6TGFiZWw5Mzk4NTU4ODE=","url":"https://api.github.com/repos/wordpress-mobile/AztecEditor-iOS/labels/WordPressEditor","name":"WordPressEditor","color":"1d76db","default":false},{"id":398111816,"node_id":"MDU6TGFiZWwzOTgxMTE4MTY=","url":"https://api.github.com/repos/wordpress-mobile/AztecEditor-iOS/labels/[Type]%20Bug","name":"[Type] Bug","color":"ee0701","default":false}],"state":"closed","locked":false,"assignee":{"login":"diegoreymendez","id":1836005,"node_id":"MDQ6VXNlcjE4MzYwMDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1836005?v=4","gravatar_id":"","url":"https://api.github.com/users/diegoreymendez","html_url":"https://github.com/diegoreymendez","followers_url":"https://api.github.com/users/diegoreymendez/followers","following_url":"https://api.github.com/users/diegoreymendez/following{/other_user}","gists_url":"https://api.github.com/users/diegoreymendez/gists{/gist_id}","starred_url":"https://api.github.com/users/diegoreymendez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegoreymendez/subscriptions","organizations_url":"https://api.github.com/users/diegoreymendez/orgs","repos_url":"https://api.github.com/users/diegoreymendez/repos","events_url":"https://api.github.com/users/diegoreymendez/events{/privacy}","received_events_url":"https://api.github.com/users/diegoreymendez/received_events","type":"User","site_admin":false},"assignees":[{"login":"diegoreymendez","id":1836005,"node_id":"MDQ6VXNlcjE4MzYwMDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1836005?v=4","gravatar_id":"","url":"https://api.github.com/users/diegoreymendez","html_url":"https://github.com/diegoreymendez","followers_url":"https://api.github.com/users/diegoreymendez/followers","following_url":"https://api.github.com/users/diegoreymendez/following{/other_user}","gists_url":"https://api.github.com/users/diegoreymendez/gists{/gist_id}","starred_url":"https://api.github.com/users/diegoreymendez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegoreymendez/subscriptions","organizations_url":"https://api.github.com/users/diegoreymendez/orgs","repos_url":"https://api.github.com/users/diegoreymendez/repos","events_url":"https://api.github.com/users/diegoreymendez/events{/privacy}","received_events_url":"https://api.github.com/users/diegoreymendez/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/wordpress-mobile/AztecEditor-iOS/milestones/47","html_url":"https://github.com/wordpress-mobile/AztecEditor-iOS/milestone/47","labels_url":"https://api.github.com/repos/wordpress-mobile/AztecEditor-iOS/milestones/47/labels","id":3427577,"node_id":"MDk6TWlsZXN0b25lMzQyNzU3Nw==","number":47,"title":"Next Stable","description":"","creator":{"login":"SergioEstevao","id":651601,"node_id":"MDQ6VXNlcjY1MTYwMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/651601?v=4","gravatar_id":"","url":"https://api.github.com/users/SergioEstevao","html_url":"https://github.com/SergioEstevao","followers_url":"https://api.github.com/users/SergioEstevao/followers","following_url":"https://api.github.com/users/SergioEstevao/following{/other_user}","gists_url":"https://api.github.com/users/SergioEstevao/gists{/gist_id}","starred_url":"https://api.github.com/users/SergioEstevao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergioEstevao/subscriptions","organizations_url":"https://api.github.com/users/SergioEstevao/orgs","repos_url":"https://api.github.com/users/SergioEstevao/repos","events_url":"https://api.github.com/users/SergioEstevao/events{/privacy}","received_events_url":"https://api.github.com/users/SergioEstevao/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":9,"state":"open","created_at":"2018-06-15T11:21:27Z","updated_at":"2018-06-21T14:07:20Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-06-19T21:41:08Z","updated_at":"2018-06-21T14:07:20Z","closed_at":"2018-06-21T14:07:20Z","author_association":"CONTRIBUTOR","body":"### Expected behavior\r\n\r\nGutenberg code blocks should not be broken by Aztec.\r\n\r\n### Actual behavior\r\n\r\nThey are not merged properly, and the comment delimiters are removed for some reason.\r\n\r\n### Tech info\r\n\r\nBlock-level elements inside of `<pre>` should be able to merge even when they're the topmost block-level element, and they should insert a `.paragraphSeparator` between the paragraphs.\r\n\r\nAlso, here's an example code block:\r\n\r\n```html\r\n<!-- wp:code -->\r\n<pre class=\"wp-block-code\"><code>testing\r\ntest.   ing\r\n     testing some more</code></pre>\r\n<!-- /wp:code -->\r\n```\r\n\r\n### Steps to reproduce the behavior\r\n\r\n![codeblockfail](https://user-images.githubusercontent.com/1836005/41625682-fc4aede6-73ef-11e8-878d-4bf3abdb7469.gif)"}}
{"actor":{"display_login":"diegoreymendez"}}