{"action":"created","comment":{"url":"https://api.github.com/repos/Rebelmail/html-preflight/pulls/comments/46363085","id":46363085,"diff_hunk":"@@ -12,7 +12,12 @@ function PrefixPlugin(cheerioOptions, postcssOptions) {\n \n PrefixPlugin.prototype.run = function(html, callback) {\n   try {\n-    return callback(null, htmlAutoprefixer.process(html, this.cheerioOptions, this.postcssOptions));\n+    var prefixed = htmlAutoprefixer.process(html, this.cheerioOptions, this.postcssOptions);\n+    if (prefixed === '') {\n+      return callback(new Error('Invalid html'));","path":"lib/plugins/prefixer.js","position":7,"original_position":7,"commit_id":"52d27b71067d92aaf64d1c5d851ccf5084d574f1","original_commit_id":"52d27b71067d92aaf64d1c5d851ccf5084d574f1","user":{"login":"devinus","id":4836,"avatar_url":"https://avatars.githubusercontent.com/u/4836?v=3","gravatar_id":"","url":"https://api.github.com/users/devinus","html_url":"https://github.com/devinus","followers_url":"https://api.github.com/users/devinus/followers","following_url":"https://api.github.com/users/devinus/following{/other_user}","gists_url":"https://api.github.com/users/devinus/gists{/gist_id}","starred_url":"https://api.github.com/users/devinus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devinus/subscriptions","organizations_url":"https://api.github.com/users/devinus/orgs","repos_url":"https://api.github.com/users/devinus/repos","events_url":"https://api.github.com/users/devinus/events{/privacy}","received_events_url":"https://api.github.com/users/devinus/received_events","type":"User","site_admin":false},"body":"Very small nitpick, but can you capitalize `HTML` :smile: Then you get a :+1: ","created_at":"2015-12-02T00:42:05Z","updated_at":"2015-12-02T00:42:05Z","html_url":"https://github.com/Rebelmail/html-preflight/pull/15#discussion_r46363085","pull_request_url":"https://api.github.com/repos/Rebelmail/html-preflight/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/Rebelmail/html-preflight/pulls/comments/46363085"},"html":{"href":"https://github.com/Rebelmail/html-preflight/pull/15#discussion_r46363085"},"pull_request":{"href":"https://api.github.com/repos/Rebelmail/html-preflight/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/Rebelmail/html-preflight/pulls/15","id":52336235,"html_url":"https://github.com/Rebelmail/html-preflight/pull/15","diff_url":"https://github.com/Rebelmail/html-preflight/pull/15.diff","patch_url":"https://github.com/Rebelmail/html-preflight/pull/15.patch","issue_url":"https://api.github.com/repos/Rebelmail/html-preflight/issues/15","number":15,"state":"open","locked":false,"title":"Integration test to catch bad html","user":{"login":"motdotla","id":3848,"avatar_url":"https://avatars.githubusercontent.com/u/3848?v=3","gravatar_id":"","url":"https://api.github.com/users/motdotla","html_url":"https://github.com/motdotla","followers_url":"https://api.github.com/users/motdotla/followers","following_url":"https://api.github.com/users/motdotla/following{/other_user}","gists_url":"https://api.github.com/users/motdotla/gists{/gist_id}","starred_url":"https://api.github.com/users/motdotla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motdotla/subscriptions","organizations_url":"https://api.github.com/users/motdotla/orgs","repos_url":"https://api.github.com/users/motdotla/repos","events_url":"https://api.github.com/users/motdotla/events{/privacy}","received_events_url":"https://api.github.com/users/motdotla/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-02T00:13:27Z","updated_at":"2015-12-02T00:42:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e4e3b1b292a59439b4ad5a0c58a9db8d1f9119b5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Rebelmail/html-preflight/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Rebelmail/html-preflight/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Rebelmail/html-preflight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rebelmail/html-preflight/issues/15/comments","statuses_url":"https://api.github.com/repos/Rebelmail/html-preflight/statuses/52d27b71067d92aaf64d1c5d851ccf5084d574f1","head":{"label":"Rebelmail:sm-bad-html","ref":"sm-bad-html","sha":"52d27b71067d92aaf64d1c5d851ccf5084d574f1","user":{"login":"Rebelmail","id":8355306,"avatar_url":"https://avatars.githubusercontent.com/u/8355306?v=3","gravatar_id":"","url":"https://api.github.com/users/Rebelmail","html_url":"https://github.com/Rebelmail","followers_url":"https://api.github.com/users/Rebelmail/followers","following_url":"https://api.github.com/users/Rebelmail/following{/other_user}","gists_url":"https://api.github.com/users/Rebelmail/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebelmail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebelmail/subscriptions","organizations_url":"https://api.github.com/users/Rebelmail/orgs","repos_url":"https://api.github.com/users/Rebelmail/repos","events_url":"https://api.github.com/users/Rebelmail/events{/privacy}","received_events_url":"https://api.github.com/users/Rebelmail/received_events","type":"Organization","site_admin":false},"repo":{"id":33681335,"name":"html-preflight","full_name":"Rebelmail/html-preflight","owner":{"login":"Rebelmail","id":8355306,"avatar_url":"https://avatars.githubusercontent.com/u/8355306?v=3","gravatar_id":"","url":"https://api.github.com/users/Rebelmail","html_url":"https://github.com/Rebelmail","followers_url":"https://api.github.com/users/Rebelmail/followers","following_url":"https://api.github.com/users/Rebelmail/following{/other_user}","gists_url":"https://api.github.com/users/Rebelmail/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebelmail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebelmail/subscriptions","organizations_url":"https://api.github.com/users/Rebelmail/orgs","repos_url":"https://api.github.com/users/Rebelmail/repos","events_url":"https://api.github.com/users/Rebelmail/events{/privacy}","received_events_url":"https://api.github.com/users/Rebelmail/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rebelmail/html-preflight","description":"The HTML email preflight process, maximizing compression without distortion","fork":false,"url":"https://api.github.com/repos/Rebelmail/html-preflight","forks_url":"https://api.github.com/repos/Rebelmail/html-preflight/forks","keys_url":"https://api.github.com/repos/Rebelmail/html-preflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rebelmail/html-preflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rebelmail/html-preflight/teams","hooks_url":"https://api.github.com/repos/Rebelmail/html-preflight/hooks","issue_events_url":"https://api.github.com/repos/Rebelmail/html-preflight/issues/events{/number}","events_url":"https://api.github.com/repos/Rebelmail/html-preflight/events","assignees_url":"https://api.github.com/repos/Rebelmail/html-preflight/assignees{/user}","branches_url":"https://api.github.com/repos/Rebelmail/html-preflight/branches{/branch}","tags_url":"https://api.github.com/repos/Rebelmail/html-preflight/tags","blobs_url":"https://api.github.com/repos/Rebelmail/html-preflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rebelmail/html-preflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rebelmail/html-preflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rebelmail/html-preflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rebelmail/html-preflight/statuses/{sha}","languages_url":"https://api.github.com/repos/Rebelmail/html-preflight/languages","stargazers_url":"https://api.github.com/repos/Rebelmail/html-preflight/stargazers","contributors_url":"https://api.github.com/repos/Rebelmail/html-preflight/contributors","subscribers_url":"https://api.github.com/repos/Rebelmail/html-preflight/subscribers","subscription_url":"https://api.github.com/repos/Rebelmail/html-preflight/subscription","commits_url":"https://api.github.com/repos/Rebelmail/html-preflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rebelmail/html-preflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rebelmail/html-preflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rebelmail/html-preflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rebelmail/html-preflight/contents/{+path}","compare_url":"https://api.github.com/repos/Rebelmail/html-preflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rebelmail/html-preflight/merges","archive_url":"https://api.github.com/repos/Rebelmail/html-preflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rebelmail/html-preflight/downloads","issues_url":"https://api.github.com/repos/Rebelmail/html-preflight/issues{/number}","pulls_url":"https://api.github.com/repos/Rebelmail/html-preflight/pulls{/number}","milestones_url":"https://api.github.com/repos/Rebelmail/html-preflight/milestones{/number}","notifications_url":"https://api.github.com/repos/Rebelmail/html-preflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rebelmail/html-preflight/labels{/name}","releases_url":"https://api.github.com/repos/Rebelmail/html-preflight/releases{/id}","created_at":"2015-04-09T16:58:11Z","updated_at":"2015-04-22T00:52:56Z","pushed_at":"2015-12-02T00:31:54Z","git_url":"git://github.com/Rebelmail/html-preflight.git","ssh_url":"git@github.com:Rebelmail/html-preflight.git","clone_url":"https://github.com/Rebelmail/html-preflight.git","svn_url":"https://github.com/Rebelmail/html-preflight","homepage":"","size":19,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"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":0,"default_branch":"master"}},"base":{"label":"Rebelmail:master","ref":"master","sha":"f06460886a4383fd5139902a34fad389ce22e43a","user":{"login":"Rebelmail","id":8355306,"avatar_url":"https://avatars.githubusercontent.com/u/8355306?v=3","gravatar_id":"","url":"https://api.github.com/users/Rebelmail","html_url":"https://github.com/Rebelmail","followers_url":"https://api.github.com/users/Rebelmail/followers","following_url":"https://api.github.com/users/Rebelmail/following{/other_user}","gists_url":"https://api.github.com/users/Rebelmail/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebelmail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebelmail/subscriptions","organizations_url":"https://api.github.com/users/Rebelmail/orgs","repos_url":"https://api.github.com/users/Rebelmail/repos","events_url":"https://api.github.com/users/Rebelmail/events{/privacy}","received_events_url":"https://api.github.com/users/Rebelmail/received_events","type":"Organization","site_admin":false},"repo":{"id":33681335,"name":"html-preflight","full_name":"Rebelmail/html-preflight","owner":{"login":"Rebelmail","id":8355306,"avatar_url":"https://avatars.githubusercontent.com/u/8355306?v=3","gravatar_id":"","url":"https://api.github.com/users/Rebelmail","html_url":"https://github.com/Rebelmail","followers_url":"https://api.github.com/users/Rebelmail/followers","following_url":"https://api.github.com/users/Rebelmail/following{/other_user}","gists_url":"https://api.github.com/users/Rebelmail/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebelmail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebelmail/subscriptions","organizations_url":"https://api.github.com/users/Rebelmail/orgs","repos_url":"https://api.github.com/users/Rebelmail/repos","events_url":"https://api.github.com/users/Rebelmail/events{/privacy}","received_events_url":"https://api.github.com/users/Rebelmail/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rebelmail/html-preflight","description":"The HTML email preflight process, maximizing compression without distortion","fork":false,"url":"https://api.github.com/repos/Rebelmail/html-preflight","forks_url":"https://api.github.com/repos/Rebelmail/html-preflight/forks","keys_url":"https://api.github.com/repos/Rebelmail/html-preflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rebelmail/html-preflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rebelmail/html-preflight/teams","hooks_url":"https://api.github.com/repos/Rebelmail/html-preflight/hooks","issue_events_url":"https://api.github.com/repos/Rebelmail/html-preflight/issues/events{/number}","events_url":"https://api.github.com/repos/Rebelmail/html-preflight/events","assignees_url":"https://api.github.com/repos/Rebelmail/html-preflight/assignees{/user}","branches_url":"https://api.github.com/repos/Rebelmail/html-preflight/branches{/branch}","tags_url":"https://api.github.com/repos/Rebelmail/html-preflight/tags","blobs_url":"https://api.github.com/repos/Rebelmail/html-preflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rebelmail/html-preflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rebelmail/html-preflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rebelmail/html-preflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rebelmail/html-preflight/statuses/{sha}","languages_url":"https://api.github.com/repos/Rebelmail/html-preflight/languages","stargazers_url":"https://api.github.com/repos/Rebelmail/html-preflight/stargazers","contributors_url":"https://api.github.com/repos/Rebelmail/html-preflight/contributors","subscribers_url":"https://api.github.com/repos/Rebelmail/html-preflight/subscribers","subscription_url":"https://api.github.com/repos/Rebelmail/html-preflight/subscription","commits_url":"https://api.github.com/repos/Rebelmail/html-preflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rebelmail/html-preflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rebelmail/html-preflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rebelmail/html-preflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rebelmail/html-preflight/contents/{+path}","compare_url":"https://api.github.com/repos/Rebelmail/html-preflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rebelmail/html-preflight/merges","archive_url":"https://api.github.com/repos/Rebelmail/html-preflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rebelmail/html-preflight/downloads","issues_url":"https://api.github.com/repos/Rebelmail/html-preflight/issues{/number}","pulls_url":"https://api.github.com/repos/Rebelmail/html-preflight/pulls{/number}","milestones_url":"https://api.github.com/repos/Rebelmail/html-preflight/milestones{/number}","notifications_url":"https://api.github.com/repos/Rebelmail/html-preflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rebelmail/html-preflight/labels{/name}","releases_url":"https://api.github.com/repos/Rebelmail/html-preflight/releases{/id}","created_at":"2015-04-09T16:58:11Z","updated_at":"2015-04-22T00:52:56Z","pushed_at":"2015-12-02T00:31:54Z","git_url":"git://github.com/Rebelmail/html-preflight.git","ssh_url":"git@github.com:Rebelmail/html-preflight.git","clone_url":"https://github.com/Rebelmail/html-preflight.git","svn_url":"https://github.com/Rebelmail/html-preflight","homepage":"","size":19,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Rebelmail/html-preflight/pulls/15"},"html":{"href":"https://github.com/Rebelmail/html-preflight/pull/15"},"issue":{"href":"https://api.github.com/repos/Rebelmail/html-preflight/issues/15"},"comments":{"href":"https://api.github.com/repos/Rebelmail/html-preflight/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Rebelmail/html-preflight/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Rebelmail/html-preflight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rebelmail/html-preflight/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Rebelmail/html-preflight/statuses/52d27b71067d92aaf64d1c5d851ccf5084d574f1"}}}}