{"action":"created","comment":{"url":"https://api.github.com/repos/jjriv/emogrifier/pulls/comments/34420683","id":34420683,"diff_hunk":"@@ -263,6 +265,16 @@ public function emogrify()\n             $this->caches[self::CACHE_KEY_CSS][$cssKey] = $allSelectors;\n         }\n \n+        // Prepare the list of excluded nodes\n+        $excludedNodes = [];","path":"Classes/Emogrifier.php","position":14,"original_position":14,"commit_id":"6e950de0a4e197a6fa0ef18dcd5684cca8d6f954","original_commit_id":"6e950de0a4e197a6fa0ef18dcd5684cca8d6f954","user":{"login":"oliverklee","id":765746,"avatar_url":"https://avatars.githubusercontent.com/u/765746?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverklee","html_url":"https://github.com/oliverklee","followers_url":"https://api.github.com/users/oliverklee/followers","following_url":"https://api.github.com/users/oliverklee/following{/other_user}","gists_url":"https://api.github.com/users/oliverklee/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverklee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverklee/subscriptions","organizations_url":"https://api.github.com/users/oliverklee/orgs","repos_url":"https://api.github.com/users/oliverklee/repos","events_url":"https://api.github.com/users/oliverklee/events{/privacy}","received_events_url":"https://api.github.com/users/oliverklee/received_events","type":"User","site_admin":false},"body":"Please let's move this into a well-named, private method.","created_at":"2015-07-12T11:01:27Z","updated_at":"2015-07-12T11:01:27Z","html_url":"https://github.com/jjriv/emogrifier/pull/207#discussion_r34420683","pull_request_url":"https://api.github.com/repos/jjriv/emogrifier/pulls/207","_links":{"self":{"href":"https://api.github.com/repos/jjriv/emogrifier/pulls/comments/34420683"},"html":{"href":"https://github.com/jjriv/emogrifier/pull/207#discussion_r34420683"},"pull_request":{"href":"https://api.github.com/repos/jjriv/emogrifier/pulls/207"}}},"pull_request":{"url":"https://api.github.com/repos/jjriv/emogrifier/pulls/207","id":39519030,"html_url":"https://github.com/jjriv/emogrifier/pull/207","diff_url":"https://github.com/jjriv/emogrifier/pull/207.diff","patch_url":"https://github.com/jjriv/emogrifier/pull/207.patch","issue_url":"https://api.github.com/repos/jjriv/emogrifier/issues/207","number":207,"state":"open","locked":false,"title":"addExcludedSelector()/removeExcludedSelector()","user":{"login":"vanderlee","id":649240,"avatar_url":"https://avatars.githubusercontent.com/u/649240?v=3","gravatar_id":"","url":"https://api.github.com/users/vanderlee","html_url":"https://github.com/vanderlee","followers_url":"https://api.github.com/users/vanderlee/followers","following_url":"https://api.github.com/users/vanderlee/following{/other_user}","gists_url":"https://api.github.com/users/vanderlee/gists{/gist_id}","starred_url":"https://api.github.com/users/vanderlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanderlee/subscriptions","organizations_url":"https://api.github.com/users/vanderlee/orgs","repos_url":"https://api.github.com/users/vanderlee/repos","events_url":"https://api.github.com/users/vanderlee/events{/privacy}","received_events_url":"https://api.github.com/users/vanderlee/received_events","type":"User","site_admin":false},"body":"Added methods `addExcludedSelector()` and `removeExcludedSelector()` that let you add selectors which should be excluded from processing. This is convenient to filter out nodes that are needed by other tools without having to change the style.\r\n\r\nA unittest is included.","created_at":"2015-07-08T20:24:08Z","updated_at":"2015-07-12T11:01:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba9ef0c1d3834098adb65885800e26d721059c87","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jjriv/emogrifier/pulls/207/commits","review_comments_url":"https://api.github.com/repos/jjriv/emogrifier/pulls/207/comments","review_comment_url":"https://api.github.com/repos/jjriv/emogrifier/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jjriv/emogrifier/issues/207/comments","statuses_url":"https://api.github.com/repos/jjriv/emogrifier/statuses/6e950de0a4e197a6fa0ef18dcd5684cca8d6f954","head":{"label":"vanderlee:exclude-selectors","ref":"exclude-selectors","sha":"6e950de0a4e197a6fa0ef18dcd5684cca8d6f954","user":{"login":"vanderlee","id":649240,"avatar_url":"https://avatars.githubusercontent.com/u/649240?v=3","gravatar_id":"","url":"https://api.github.com/users/vanderlee","html_url":"https://github.com/vanderlee","followers_url":"https://api.github.com/users/vanderlee/followers","following_url":"https://api.github.com/users/vanderlee/following{/other_user}","gists_url":"https://api.github.com/users/vanderlee/gists{/gist_id}","starred_url":"https://api.github.com/users/vanderlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanderlee/subscriptions","organizations_url":"https://api.github.com/users/vanderlee/orgs","repos_url":"https://api.github.com/users/vanderlee/repos","events_url":"https://api.github.com/users/vanderlee/events{/privacy}","received_events_url":"https://api.github.com/users/vanderlee/received_events","type":"User","site_admin":false},"repo":{"id":38771495,"name":"emogrifier","full_name":"vanderlee/emogrifier","owner":{"login":"vanderlee","id":649240,"avatar_url":"https://avatars.githubusercontent.com/u/649240?v=3","gravatar_id":"","url":"https://api.github.com/users/vanderlee","html_url":"https://github.com/vanderlee","followers_url":"https://api.github.com/users/vanderlee/followers","following_url":"https://api.github.com/users/vanderlee/following{/other_user}","gists_url":"https://api.github.com/users/vanderlee/gists{/gist_id}","starred_url":"https://api.github.com/users/vanderlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanderlee/subscriptions","organizations_url":"https://api.github.com/users/vanderlee/orgs","repos_url":"https://api.github.com/users/vanderlee/repos","events_url":"https://api.github.com/users/vanderlee/events{/privacy}","received_events_url":"https://api.github.com/users/vanderlee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vanderlee/emogrifier","description":"Converts CSS styles into inline style attributes in your HTML code.","fork":true,"url":"https://api.github.com/repos/vanderlee/emogrifier","forks_url":"https://api.github.com/repos/vanderlee/emogrifier/forks","keys_url":"https://api.github.com/repos/vanderlee/emogrifier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vanderlee/emogrifier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vanderlee/emogrifier/teams","hooks_url":"https://api.github.com/repos/vanderlee/emogrifier/hooks","issue_events_url":"https://api.github.com/repos/vanderlee/emogrifier/issues/events{/number}","events_url":"https://api.github.com/repos/vanderlee/emogrifier/events","assignees_url":"https://api.github.com/repos/vanderlee/emogrifier/assignees{/user}","branches_url":"https://api.github.com/repos/vanderlee/emogrifier/branches{/branch}","tags_url":"https://api.github.com/repos/vanderlee/emogrifier/tags","blobs_url":"https://api.github.com/repos/vanderlee/emogrifier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vanderlee/emogrifier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vanderlee/emogrifier/git/refs{/sha}","trees_url":"https://api.github.com/repos/vanderlee/emogrifier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vanderlee/emogrifier/statuses/{sha}","languages_url":"https://api.github.com/repos/vanderlee/emogrifier/languages","stargazers_url":"https://api.github.com/repos/vanderlee/emogrifier/stargazers","contributors_url":"https://api.github.com/repos/vanderlee/emogrifier/contributors","subscribers_url":"https://api.github.com/repos/vanderlee/emogrifier/subscribers","subscription_url":"https://api.github.com/repos/vanderlee/emogrifier/subscription","commits_url":"https://api.github.com/repos/vanderlee/emogrifier/commits{/sha}","git_commits_url":"https://api.github.com/repos/vanderlee/emogrifier/git/commits{/sha}","comments_url":"https://api.github.com/repos/vanderlee/emogrifier/comments{/number}","issue_comment_url":"https://api.github.com/repos/vanderlee/emogrifier/issues/comments{/number}","contents_url":"https://api.github.com/repos/vanderlee/emogrifier/contents/{+path}","compare_url":"https://api.github.com/repos/vanderlee/emogrifier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vanderlee/emogrifier/merges","archive_url":"https://api.github.com/repos/vanderlee/emogrifier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vanderlee/emogrifier/downloads","issues_url":"https://api.github.com/repos/vanderlee/emogrifier/issues{/number}","pulls_url":"https://api.github.com/repos/vanderlee/emogrifier/pulls{/number}","milestones_url":"https://api.github.com/repos/vanderlee/emogrifier/milestones{/number}","notifications_url":"https://api.github.com/repos/vanderlee/emogrifier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vanderlee/emogrifier/labels{/name}","releases_url":"https://api.github.com/repos/vanderlee/emogrifier/releases{/id}","created_at":"2015-07-08T18:13:57Z","updated_at":"2015-07-08T18:13:57Z","pushed_at":"2015-07-11T20:12:47Z","git_url":"git://github.com/vanderlee/emogrifier.git","ssh_url":"git@github.com:vanderlee/emogrifier.git","clone_url":"https://github.com/vanderlee/emogrifier.git","svn_url":"https://github.com/vanderlee/emogrifier","homepage":null,"size":237,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jjriv:master","ref":"master","sha":"8150a26beced3f80b0560d985a3e7408b270c03f","user":{"login":"jjriv","id":4063419,"avatar_url":"https://avatars.githubusercontent.com/u/4063419?v=3","gravatar_id":"","url":"https://api.github.com/users/jjriv","html_url":"https://github.com/jjriv","followers_url":"https://api.github.com/users/jjriv/followers","following_url":"https://api.github.com/users/jjriv/following{/other_user}","gists_url":"https://api.github.com/users/jjriv/gists{/gist_id}","starred_url":"https://api.github.com/users/jjriv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjriv/subscriptions","organizations_url":"https://api.github.com/users/jjriv/orgs","repos_url":"https://api.github.com/users/jjriv/repos","events_url":"https://api.github.com/users/jjriv/events{/privacy}","received_events_url":"https://api.github.com/users/jjriv/received_events","type":"User","site_admin":false},"repo":{"id":14871640,"name":"emogrifier","full_name":"jjriv/emogrifier","owner":{"login":"jjriv","id":4063419,"avatar_url":"https://avatars.githubusercontent.com/u/4063419?v=3","gravatar_id":"","url":"https://api.github.com/users/jjriv","html_url":"https://github.com/jjriv","followers_url":"https://api.github.com/users/jjriv/followers","following_url":"https://api.github.com/users/jjriv/following{/other_user}","gists_url":"https://api.github.com/users/jjriv/gists{/gist_id}","starred_url":"https://api.github.com/users/jjriv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjriv/subscriptions","organizations_url":"https://api.github.com/users/jjriv/orgs","repos_url":"https://api.github.com/users/jjriv/repos","events_url":"https://api.github.com/users/jjriv/events{/privacy}","received_events_url":"https://api.github.com/users/jjriv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jjriv/emogrifier","description":"Converts CSS styles into inline style attributes in your HTML code.","fork":false,"url":"https://api.github.com/repos/jjriv/emogrifier","forks_url":"https://api.github.com/repos/jjriv/emogrifier/forks","keys_url":"https://api.github.com/repos/jjriv/emogrifier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jjriv/emogrifier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jjriv/emogrifier/teams","hooks_url":"https://api.github.com/repos/jjriv/emogrifier/hooks","issue_events_url":"https://api.github.com/repos/jjriv/emogrifier/issues/events{/number}","events_url":"https://api.github.com/repos/jjriv/emogrifier/events","assignees_url":"https://api.github.com/repos/jjriv/emogrifier/assignees{/user}","branches_url":"https://api.github.com/repos/jjriv/emogrifier/branches{/branch}","tags_url":"https://api.github.com/repos/jjriv/emogrifier/tags","blobs_url":"https://api.github.com/repos/jjriv/emogrifier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jjriv/emogrifier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jjriv/emogrifier/git/refs{/sha}","trees_url":"https://api.github.com/repos/jjriv/emogrifier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jjriv/emogrifier/statuses/{sha}","languages_url":"https://api.github.com/repos/jjriv/emogrifier/languages","stargazers_url":"https://api.github.com/repos/jjriv/emogrifier/stargazers","contributors_url":"https://api.github.com/repos/jjriv/emogrifier/contributors","subscribers_url":"https://api.github.com/repos/jjriv/emogrifier/subscribers","subscription_url":"https://api.github.com/repos/jjriv/emogrifier/subscription","commits_url":"https://api.github.com/repos/jjriv/emogrifier/commits{/sha}","git_commits_url":"https://api.github.com/repos/jjriv/emogrifier/git/commits{/sha}","comments_url":"https://api.github.com/repos/jjriv/emogrifier/comments{/number}","issue_comment_url":"https://api.github.com/repos/jjriv/emogrifier/issues/comments{/number}","contents_url":"https://api.github.com/repos/jjriv/emogrifier/contents/{+path}","compare_url":"https://api.github.com/repos/jjriv/emogrifier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jjriv/emogrifier/merges","archive_url":"https://api.github.com/repos/jjriv/emogrifier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jjriv/emogrifier/downloads","issues_url":"https://api.github.com/repos/jjriv/emogrifier/issues{/number}","pulls_url":"https://api.github.com/repos/jjriv/emogrifier/pulls{/number}","milestones_url":"https://api.github.com/repos/jjriv/emogrifier/milestones{/number}","notifications_url":"https://api.github.com/repos/jjriv/emogrifier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jjriv/emogrifier/labels{/name}","releases_url":"https://api.github.com/repos/jjriv/emogrifier/releases{/id}","created_at":"2013-12-02T18:58:48Z","updated_at":"2015-07-10T19:21:07Z","pushed_at":"2015-07-11T20:15:44Z","git_url":"git://github.com/jjriv/emogrifier.git","ssh_url":"git@github.com:jjriv/emogrifier.git","clone_url":"https://github.com/jjriv/emogrifier.git","svn_url":"https://github.com/jjriv/emogrifier","homepage":null,"size":1589,"stargazers_count":154,"watchers_count":154,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":29,"forks":45,"open_issues":29,"watchers":154,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jjriv/emogrifier/pulls/207"},"html":{"href":"https://github.com/jjriv/emogrifier/pull/207"},"issue":{"href":"https://api.github.com/repos/jjriv/emogrifier/issues/207"},"comments":{"href":"https://api.github.com/repos/jjriv/emogrifier/issues/207/comments"},"review_comments":{"href":"https://api.github.com/repos/jjriv/emogrifier/pulls/207/comments"},"review_comment":{"href":"https://api.github.com/repos/jjriv/emogrifier/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jjriv/emogrifier/pulls/207/commits"},"statuses":{"href":"https://api.github.com/repos/jjriv/emogrifier/statuses/6e950de0a4e197a6fa0ef18dcd5684cca8d6f954"}}}}