{"action":"created","comment":{"url":"https://api.github.com/repos/PopSugar/amp-library/pulls/comments/80284558","id":80284558,"diff_hunk":"@@ -22,12 +30,21 @@ Transformations made from HTML tags to AMP custom tags\n <img src=\"https://upload.wikimedia.org/wikipedia/commons/b/b7/True_Color_GIF_image-Tc217.gif\"> at line 5\n  ACTION TAKEN: img tag was converted to the amp-anim tag.\n \n+<blockquote class=\"imgur-embed-pub\" lang=\"en\" data-id=\"UY7mHHT\"> at line 8\n+ ACTION TAKEN: blockquote.imgur imgur tag was converted to the amp-img tag\n+\n \n AMP-HTML Validation Issues and Fixes\n -------------------------------------\n-PASS\n+FAIL","path":"tests/test-data/fragment-html/sugar-img-test-fragment.html.out","position":null,"original_position":35,"commit_id":"31797626df6cb3771c2f1b1ab3fed01647d77a70","original_commit_id":"e5a255f3e1dca1c835140329be0efd7c9266ffa9","user":{"login":"FuzzyTree","id":6363454,"avatar_url":"https://avatars.githubusercontent.com/u/6363454?v=3","gravatar_id":"","url":"https://api.github.com/users/FuzzyTree","html_url":"https://github.com/FuzzyTree","followers_url":"https://api.github.com/users/FuzzyTree/followers","following_url":"https://api.github.com/users/FuzzyTree/following{/other_user}","gists_url":"https://api.github.com/users/FuzzyTree/gists{/gist_id}","starred_url":"https://api.github.com/users/FuzzyTree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FuzzyTree/subscriptions","organizations_url":"https://api.github.com/users/FuzzyTree/orgs","repos_url":"https://api.github.com/users/FuzzyTree/repos","events_url":"https://api.github.com/users/FuzzyTree/events{/privacy}","received_events_url":"https://api.github.com/users/FuzzyTree/received_events","type":"User","site_admin":false},"body":"An extra script tag in the test case was causing the amp validation to fail (which is expected). But I removed the script tag since it's not necessary for the unit test. ","created_at":"2016-09-23T17:03:33Z","updated_at":"2016-09-23T17:03:33Z","html_url":"https://github.com/PopSugar/amp-library/pull/2#discussion_r80284558","pull_request_url":"https://api.github.com/repos/PopSugar/amp-library/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/PopSugar/amp-library/pulls/comments/80284558"},"html":{"href":"https://github.com/PopSugar/amp-library/pull/2#discussion_r80284558"},"pull_request":{"href":"https://api.github.com/repos/PopSugar/amp-library/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/PopSugar/amp-library/pulls/2","id":86374965,"html_url":"https://github.com/PopSugar/amp-library/pull/2","diff_url":"https://github.com/PopSugar/amp-library/pull/2.diff","patch_url":"https://github.com/PopSugar/amp-library/pull/2.patch","issue_url":"https://api.github.com/repos/PopSugar/amp-library/issues/2","number":2,"state":"open","locked":false,"title":"amp-ad, imgur, tumblr","user":{"login":"FuzzyTree","id":6363454,"avatar_url":"https://avatars.githubusercontent.com/u/6363454?v=3","gravatar_id":"","url":"https://api.github.com/users/FuzzyTree","html_url":"https://github.com/FuzzyTree","followers_url":"https://api.github.com/users/FuzzyTree/followers","following_url":"https://api.github.com/users/FuzzyTree/following{/other_user}","gists_url":"https://api.github.com/users/FuzzyTree/gists{/gist_id}","starred_url":"https://api.github.com/users/FuzzyTree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FuzzyTree/subscriptions","organizations_url":"https://api.github.com/users/FuzzyTree/orgs","repos_url":"https://api.github.com/users/FuzzyTree/repos","events_url":"https://api.github.com/users/FuzzyTree/events{/privacy}","received_events_url":"https://api.github.com/users/FuzzyTree/received_events","type":"User","site_admin":false},"body":"Adds support for imgur, tumblr and amp-ad. Improved ad-anim support checks whether the gif is really an animation. \r\n\r\nAdded placeholders for imgur embeds so that if the embed appears in the 1st 75% of the screen, it will still load.","created_at":"2016-09-22T16:53:10Z","updated_at":"2016-09-23T17:03:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7753edc62d0fe7bbb036a25627273baf2bace319","assignee":{"login":"mpatnode-si","id":1800400,"avatar_url":"https://avatars.githubusercontent.com/u/1800400?v=3","gravatar_id":"","url":"https://api.github.com/users/mpatnode-si","html_url":"https://github.com/mpatnode-si","followers_url":"https://api.github.com/users/mpatnode-si/followers","following_url":"https://api.github.com/users/mpatnode-si/following{/other_user}","gists_url":"https://api.github.com/users/mpatnode-si/gists{/gist_id}","starred_url":"https://api.github.com/users/mpatnode-si/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpatnode-si/subscriptions","organizations_url":"https://api.github.com/users/mpatnode-si/orgs","repos_url":"https://api.github.com/users/mpatnode-si/repos","events_url":"https://api.github.com/users/mpatnode-si/events{/privacy}","received_events_url":"https://api.github.com/users/mpatnode-si/received_events","type":"User","site_admin":false},"assignees":[{"login":"mpatnode-si","id":1800400,"avatar_url":"https://avatars.githubusercontent.com/u/1800400?v=3","gravatar_id":"","url":"https://api.github.com/users/mpatnode-si","html_url":"https://github.com/mpatnode-si","followers_url":"https://api.github.com/users/mpatnode-si/followers","following_url":"https://api.github.com/users/mpatnode-si/following{/other_user}","gists_url":"https://api.github.com/users/mpatnode-si/gists{/gist_id}","starred_url":"https://api.github.com/users/mpatnode-si/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpatnode-si/subscriptions","organizations_url":"https://api.github.com/users/mpatnode-si/orgs","repos_url":"https://api.github.com/users/mpatnode-si/repos","events_url":"https://api.github.com/users/mpatnode-si/events{/privacy}","received_events_url":"https://api.github.com/users/mpatnode-si/received_events","type":"User","site_admin":false},{"login":"casey-powell","id":4975720,"avatar_url":"https://avatars.githubusercontent.com/u/4975720?v=3","gravatar_id":"","url":"https://api.github.com/users/casey-powell","html_url":"https://github.com/casey-powell","followers_url":"https://api.github.com/users/casey-powell/followers","following_url":"https://api.github.com/users/casey-powell/following{/other_user}","gists_url":"https://api.github.com/users/casey-powell/gists{/gist_id}","starred_url":"https://api.github.com/users/casey-powell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casey-powell/subscriptions","organizations_url":"https://api.github.com/users/casey-powell/orgs","repos_url":"https://api.github.com/users/casey-powell/repos","events_url":"https://api.github.com/users/casey-powell/events{/privacy}","received_events_url":"https://api.github.com/users/casey-powell/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PopSugar/amp-library/pulls/2/commits","review_comments_url":"https://api.github.com/repos/PopSugar/amp-library/pulls/2/comments","review_comment_url":"https://api.github.com/repos/PopSugar/amp-library/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PopSugar/amp-library/issues/2/comments","statuses_url":"https://api.github.com/repos/PopSugar/amp-library/statuses/31797626df6cb3771c2f1b1ab3fed01647d77a70","head":{"label":"PopSugar:amp-imgur","ref":"amp-imgur","sha":"31797626df6cb3771c2f1b1ab3fed01647d77a70","user":{"login":"PopSugar","id":1076661,"avatar_url":"https://avatars.githubusercontent.com/u/1076661?v=3","gravatar_id":"","url":"https://api.github.com/users/PopSugar","html_url":"https://github.com/PopSugar","followers_url":"https://api.github.com/users/PopSugar/followers","following_url":"https://api.github.com/users/PopSugar/following{/other_user}","gists_url":"https://api.github.com/users/PopSugar/gists{/gist_id}","starred_url":"https://api.github.com/users/PopSugar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PopSugar/subscriptions","organizations_url":"https://api.github.com/users/PopSugar/orgs","repos_url":"https://api.github.com/users/PopSugar/repos","events_url":"https://api.github.com/users/PopSugar/events{/privacy}","received_events_url":"https://api.github.com/users/PopSugar/received_events","type":"Organization","site_admin":false},"repo":{"id":68622458,"name":"amp-library","full_name":"PopSugar/amp-library","owner":{"login":"PopSugar","id":1076661,"avatar_url":"https://avatars.githubusercontent.com/u/1076661?v=3","gravatar_id":"","url":"https://api.github.com/users/PopSugar","html_url":"https://github.com/PopSugar","followers_url":"https://api.github.com/users/PopSugar/followers","following_url":"https://api.github.com/users/PopSugar/following{/other_user}","gists_url":"https://api.github.com/users/PopSugar/gists{/gist_id}","starred_url":"https://api.github.com/users/PopSugar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PopSugar/subscriptions","organizations_url":"https://api.github.com/users/PopSugar/orgs","repos_url":"https://api.github.com/users/PopSugar/repos","events_url":"https://api.github.com/users/PopSugar/events{/privacy}","received_events_url":"https://api.github.com/users/PopSugar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PopSugar/amp-library","description":"Convert HTML to AMP HTML and report HTML compliance with the AMP HTML specification","fork":true,"url":"https://api.github.com/repos/PopSugar/amp-library","forks_url":"https://api.github.com/repos/PopSugar/amp-library/forks","keys_url":"https://api.github.com/repos/PopSugar/amp-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PopSugar/amp-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PopSugar/amp-library/teams","hooks_url":"https://api.github.com/repos/PopSugar/amp-library/hooks","issue_events_url":"https://api.github.com/repos/PopSugar/amp-library/issues/events{/number}","events_url":"https://api.github.com/repos/PopSugar/amp-library/events","assignees_url":"https://api.github.com/repos/PopSugar/amp-library/assignees{/user}","branches_url":"https://api.github.com/repos/PopSugar/amp-library/branches{/branch}","tags_url":"https://api.github.com/repos/PopSugar/amp-library/tags","blobs_url":"https://api.github.com/repos/PopSugar/amp-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PopSugar/amp-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PopSugar/amp-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/PopSugar/amp-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PopSugar/amp-library/statuses/{sha}","languages_url":"https://api.github.com/repos/PopSugar/amp-library/languages","stargazers_url":"https://api.github.com/repos/PopSugar/amp-library/stargazers","contributors_url":"https://api.github.com/repos/PopSugar/amp-library/contributors","subscribers_url":"https://api.github.com/repos/PopSugar/amp-library/subscribers","subscription_url":"https://api.github.com/repos/PopSugar/amp-library/subscription","commits_url":"https://api.github.com/repos/PopSugar/amp-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/PopSugar/amp-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/PopSugar/amp-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/PopSugar/amp-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/PopSugar/amp-library/contents/{+path}","compare_url":"https://api.github.com/repos/PopSugar/amp-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PopSugar/amp-library/merges","archive_url":"https://api.github.com/repos/PopSugar/amp-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PopSugar/amp-library/downloads","issues_url":"https://api.github.com/repos/PopSugar/amp-library/issues{/number}","pulls_url":"https://api.github.com/repos/PopSugar/amp-library/pulls{/number}","milestones_url":"https://api.github.com/repos/PopSugar/amp-library/milestones{/number}","notifications_url":"https://api.github.com/repos/PopSugar/amp-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PopSugar/amp-library/labels{/name}","releases_url":"https://api.github.com/repos/PopSugar/amp-library/releases{/id}","deployments_url":"https://api.github.com/repos/PopSugar/amp-library/deployments","created_at":"2016-09-19T16:06:35Z","updated_at":"2016-09-19T23:58:11Z","pushed_at":"2016-09-23T16:56:51Z","git_url":"git://github.com/PopSugar/amp-library.git","ssh_url":"git@github.com:PopSugar/amp-library.git","clone_url":"https://github.com/PopSugar/amp-library.git","svn_url":"https://github.com/PopSugar/amp-library","homepage":"","size":867,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"PopSugar:master","ref":"master","sha":"e54765dd4ba37616cd4e24a965c387f3cac8f6c1","user":{"login":"PopSugar","id":1076661,"avatar_url":"https://avatars.githubusercontent.com/u/1076661?v=3","gravatar_id":"","url":"https://api.github.com/users/PopSugar","html_url":"https://github.com/PopSugar","followers_url":"https://api.github.com/users/PopSugar/followers","following_url":"https://api.github.com/users/PopSugar/following{/other_user}","gists_url":"https://api.github.com/users/PopSugar/gists{/gist_id}","starred_url":"https://api.github.com/users/PopSugar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PopSugar/subscriptions","organizations_url":"https://api.github.com/users/PopSugar/orgs","repos_url":"https://api.github.com/users/PopSugar/repos","events_url":"https://api.github.com/users/PopSugar/events{/privacy}","received_events_url":"https://api.github.com/users/PopSugar/received_events","type":"Organization","site_admin":false},"repo":{"id":68622458,"name":"amp-library","full_name":"PopSugar/amp-library","owner":{"login":"PopSugar","id":1076661,"avatar_url":"https://avatars.githubusercontent.com/u/1076661?v=3","gravatar_id":"","url":"https://api.github.com/users/PopSugar","html_url":"https://github.com/PopSugar","followers_url":"https://api.github.com/users/PopSugar/followers","following_url":"https://api.github.com/users/PopSugar/following{/other_user}","gists_url":"https://api.github.com/users/PopSugar/gists{/gist_id}","starred_url":"https://api.github.com/users/PopSugar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PopSugar/subscriptions","organizations_url":"https://api.github.com/users/PopSugar/orgs","repos_url":"https://api.github.com/users/PopSugar/repos","events_url":"https://api.github.com/users/PopSugar/events{/privacy}","received_events_url":"https://api.github.com/users/PopSugar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PopSugar/amp-library","description":"Convert HTML to AMP HTML and report HTML compliance with the AMP HTML specification","fork":true,"url":"https://api.github.com/repos/PopSugar/amp-library","forks_url":"https://api.github.com/repos/PopSugar/amp-library/forks","keys_url":"https://api.github.com/repos/PopSugar/amp-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PopSugar/amp-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PopSugar/amp-library/teams","hooks_url":"https://api.github.com/repos/PopSugar/amp-library/hooks","issue_events_url":"https://api.github.com/repos/PopSugar/amp-library/issues/events{/number}","events_url":"https://api.github.com/repos/PopSugar/amp-library/events","assignees_url":"https://api.github.com/repos/PopSugar/amp-library/assignees{/user}","branches_url":"https://api.github.com/repos/PopSugar/amp-library/branches{/branch}","tags_url":"https://api.github.com/repos/PopSugar/amp-library/tags","blobs_url":"https://api.github.com/repos/PopSugar/amp-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PopSugar/amp-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PopSugar/amp-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/PopSugar/amp-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PopSugar/amp-library/statuses/{sha}","languages_url":"https://api.github.com/repos/PopSugar/amp-library/languages","stargazers_url":"https://api.github.com/repos/PopSugar/amp-library/stargazers","contributors_url":"https://api.github.com/repos/PopSugar/amp-library/contributors","subscribers_url":"https://api.github.com/repos/PopSugar/amp-library/subscribers","subscription_url":"https://api.github.com/repos/PopSugar/amp-library/subscription","commits_url":"https://api.github.com/repos/PopSugar/amp-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/PopSugar/amp-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/PopSugar/amp-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/PopSugar/amp-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/PopSugar/amp-library/contents/{+path}","compare_url":"https://api.github.com/repos/PopSugar/amp-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PopSugar/amp-library/merges","archive_url":"https://api.github.com/repos/PopSugar/amp-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PopSugar/amp-library/downloads","issues_url":"https://api.github.com/repos/PopSugar/amp-library/issues{/number}","pulls_url":"https://api.github.com/repos/PopSugar/amp-library/pulls{/number}","milestones_url":"https://api.github.com/repos/PopSugar/amp-library/milestones{/number}","notifications_url":"https://api.github.com/repos/PopSugar/amp-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PopSugar/amp-library/labels{/name}","releases_url":"https://api.github.com/repos/PopSugar/amp-library/releases{/id}","deployments_url":"https://api.github.com/repos/PopSugar/amp-library/deployments","created_at":"2016-09-19T16:06:35Z","updated_at":"2016-09-19T23:58:11Z","pushed_at":"2016-09-23T16:56:51Z","git_url":"git://github.com/PopSugar/amp-library.git","ssh_url":"git@github.com:PopSugar/amp-library.git","clone_url":"https://github.com/PopSugar/amp-library.git","svn_url":"https://github.com/PopSugar/amp-library","homepage":"","size":867,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PopSugar/amp-library/pulls/2"},"html":{"href":"https://github.com/PopSugar/amp-library/pull/2"},"issue":{"href":"https://api.github.com/repos/PopSugar/amp-library/issues/2"},"comments":{"href":"https://api.github.com/repos/PopSugar/amp-library/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/PopSugar/amp-library/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/PopSugar/amp-library/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PopSugar/amp-library/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/PopSugar/amp-library/statuses/31797626df6cb3771c2f1b1ab3fed01647d77a70"}}}}
{"actor":{"display_login":"FuzzyTree"}}