{"action":"created","comment":{"url":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls/comments/30047745","id":30047745,"diff_hunk":"@@ -118,11 +138,12 @@ public function shortcode( $atts, $content = null ) {\n \t\t\t\t$item_text = strip_tags( $item_match_arr[1] );\n \n \t\t\t\t// Add filter to allow custom TOC item markup\n-\t\t\t\t$toc_list .= apply_filters(\n+\t\t\t\t$items_html .= apply_filters(","path":"includes/class-content-toc.php","position":76,"original_position":76,"commit_id":"2ff0e0581ce44b4495b2a14fe7f1da1760a134d4","original_commit_id":"2ff0e0581ce44b4495b2a14fe7f1da1760a134d4","user":{"login":"sanchothefat","id":23417,"avatar_url":"https://avatars.githubusercontent.com/u/23417?v=3","gravatar_id":"","url":"https://api.github.com/users/sanchothefat","html_url":"https://github.com/sanchothefat","followers_url":"https://api.github.com/users/sanchothefat/followers","following_url":"https://api.github.com/users/sanchothefat/following{/other_user}","gists_url":"https://api.github.com/users/sanchothefat/gists{/gist_id}","starred_url":"https://api.github.com/users/sanchothefat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanchothefat/subscriptions","organizations_url":"https://api.github.com/users/sanchothefat/orgs","repos_url":"https://api.github.com/users/sanchothefat/repos","events_url":"https://api.github.com/users/sanchothefat/events{/privacy}","received_events_url":"https://api.github.com/users/sanchothefat/received_events","type":"User","site_admin":false},"body":"This filter does no harm being here but it's probably not going to be used much, you can spend too much time worrying about these things - it's best to make the decision that works for you and then someone will request a filter or feature if it doesn't quite work for them.","created_at":"2015-05-11T15:17:46Z","updated_at":"2015-05-11T15:17:46Z","html_url":"https://github.com/dashaluna/hm-content-toc/pull/28#discussion_r30047745","pull_request_url":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls/comments/30047745"},"html":{"href":"https://github.com/dashaluna/hm-content-toc/pull/28#discussion_r30047745"},"pull_request":{"href":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls/28","id":34812702,"html_url":"https://github.com/dashaluna/hm-content-toc/pull/28","diff_url":"https://github.com/dashaluna/hm-content-toc/pull/28.diff","patch_url":"https://github.com/dashaluna/hm-content-toc/pull/28.patch","issue_url":"https://api.github.com/repos/dashaluna/hm-content-toc/issues/28","number":28,"state":"open","locked":false,"title":"Add wrapper element around TOC title and list","user":{"login":"sanchothefat","id":23417,"avatar_url":"https://avatars.githubusercontent.com/u/23417?v=3","gravatar_id":"","url":"https://api.github.com/users/sanchothefat","html_url":"https://github.com/sanchothefat","followers_url":"https://api.github.com/users/sanchothefat/followers","following_url":"https://api.github.com/users/sanchothefat/following{/other_user}","gists_url":"https://api.github.com/users/sanchothefat/gists{/gist_id}","starred_url":"https://api.github.com/users/sanchothefat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanchothefat/subscriptions","organizations_url":"https://api.github.com/users/sanchothefat/orgs","repos_url":"https://api.github.com/users/sanchothefat/repos","events_url":"https://api.github.com/users/sanchothefat/events{/privacy}","received_events_url":"https://api.github.com/users/sanchothefat/received_events","type":"User","site_admin":false},"body":"This will be useful for styling, especially with the TOC being inserted into the body content.","created_at":"2015-05-06T12:45:09Z","updated_at":"2015-05-11T15:17:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a04f98c1d7a4f0741c6ffd30539042c8d915254c","assignee":{"login":"dashaluna","id":2185972,"avatar_url":"https://avatars.githubusercontent.com/u/2185972?v=3","gravatar_id":"","url":"https://api.github.com/users/dashaluna","html_url":"https://github.com/dashaluna","followers_url":"https://api.github.com/users/dashaluna/followers","following_url":"https://api.github.com/users/dashaluna/following{/other_user}","gists_url":"https://api.github.com/users/dashaluna/gists{/gist_id}","starred_url":"https://api.github.com/users/dashaluna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashaluna/subscriptions","organizations_url":"https://api.github.com/users/dashaluna/orgs","repos_url":"https://api.github.com/users/dashaluna/repos","events_url":"https://api.github.com/users/dashaluna/events{/privacy}","received_events_url":"https://api.github.com/users/dashaluna/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls/28/commits","review_comments_url":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls/28/comments","review_comment_url":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dashaluna/hm-content-toc/issues/28/comments","statuses_url":"https://api.github.com/repos/dashaluna/hm-content-toc/statuses/2ff0e0581ce44b4495b2a14fe7f1da1760a134d4","head":{"label":"dashaluna:toc-wrapper","ref":"toc-wrapper","sha":"2ff0e0581ce44b4495b2a14fe7f1da1760a134d4","user":{"login":"dashaluna","id":2185972,"avatar_url":"https://avatars.githubusercontent.com/u/2185972?v=3","gravatar_id":"","url":"https://api.github.com/users/dashaluna","html_url":"https://github.com/dashaluna","followers_url":"https://api.github.com/users/dashaluna/followers","following_url":"https://api.github.com/users/dashaluna/following{/other_user}","gists_url":"https://api.github.com/users/dashaluna/gists{/gist_id}","starred_url":"https://api.github.com/users/dashaluna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashaluna/subscriptions","organizations_url":"https://api.github.com/users/dashaluna/orgs","repos_url":"https://api.github.com/users/dashaluna/repos","events_url":"https://api.github.com/users/dashaluna/events{/privacy}","received_events_url":"https://api.github.com/users/dashaluna/received_events","type":"User","site_admin":false},"repo":{"id":34321749,"name":"hm-content-toc","full_name":"dashaluna/hm-content-toc","owner":{"login":"dashaluna","id":2185972,"avatar_url":"https://avatars.githubusercontent.com/u/2185972?v=3","gravatar_id":"","url":"https://api.github.com/users/dashaluna","html_url":"https://github.com/dashaluna","followers_url":"https://api.github.com/users/dashaluna/followers","following_url":"https://api.github.com/users/dashaluna/following{/other_user}","gists_url":"https://api.github.com/users/dashaluna/gists{/gist_id}","starred_url":"https://api.github.com/users/dashaluna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashaluna/subscriptions","organizations_url":"https://api.github.com/users/dashaluna/orgs","repos_url":"https://api.github.com/users/dashaluna/repos","events_url":"https://api.github.com/users/dashaluna/events{/privacy}","received_events_url":"https://api.github.com/users/dashaluna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dashaluna/hm-content-toc","description":"WordPress plugin. Creates content TOC for specified header elements from the current post content. Adds anchor elements in the content just before the matched headers.","fork":false,"url":"https://api.github.com/repos/dashaluna/hm-content-toc","forks_url":"https://api.github.com/repos/dashaluna/hm-content-toc/forks","keys_url":"https://api.github.com/repos/dashaluna/hm-content-toc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dashaluna/hm-content-toc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dashaluna/hm-content-toc/teams","hooks_url":"https://api.github.com/repos/dashaluna/hm-content-toc/hooks","issue_events_url":"https://api.github.com/repos/dashaluna/hm-content-toc/issues/events{/number}","events_url":"https://api.github.com/repos/dashaluna/hm-content-toc/events","assignees_url":"https://api.github.com/repos/dashaluna/hm-content-toc/assignees{/user}","branches_url":"https://api.github.com/repos/dashaluna/hm-content-toc/branches{/branch}","tags_url":"https://api.github.com/repos/dashaluna/hm-content-toc/tags","blobs_url":"https://api.github.com/repos/dashaluna/hm-content-toc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dashaluna/hm-content-toc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dashaluna/hm-content-toc/git/refs{/sha}","trees_url":"https://api.github.com/repos/dashaluna/hm-content-toc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dashaluna/hm-content-toc/statuses/{sha}","languages_url":"https://api.github.com/repos/dashaluna/hm-content-toc/languages","stargazers_url":"https://api.github.com/repos/dashaluna/hm-content-toc/stargazers","contributors_url":"https://api.github.com/repos/dashaluna/hm-content-toc/contributors","subscribers_url":"https://api.github.com/repos/dashaluna/hm-content-toc/subscribers","subscription_url":"https://api.github.com/repos/dashaluna/hm-content-toc/subscription","commits_url":"https://api.github.com/repos/dashaluna/hm-content-toc/commits{/sha}","git_commits_url":"https://api.github.com/repos/dashaluna/hm-content-toc/git/commits{/sha}","comments_url":"https://api.github.com/repos/dashaluna/hm-content-toc/comments{/number}","issue_comment_url":"https://api.github.com/repos/dashaluna/hm-content-toc/issues/comments{/number}","contents_url":"https://api.github.com/repos/dashaluna/hm-content-toc/contents/{+path}","compare_url":"https://api.github.com/repos/dashaluna/hm-content-toc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dashaluna/hm-content-toc/merges","archive_url":"https://api.github.com/repos/dashaluna/hm-content-toc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dashaluna/hm-content-toc/downloads","issues_url":"https://api.github.com/repos/dashaluna/hm-content-toc/issues{/number}","pulls_url":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls{/number}","milestones_url":"https://api.github.com/repos/dashaluna/hm-content-toc/milestones{/number}","notifications_url":"https://api.github.com/repos/dashaluna/hm-content-toc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dashaluna/hm-content-toc/labels{/name}","releases_url":"https://api.github.com/repos/dashaluna/hm-content-toc/releases{/id}","created_at":"2015-04-21T11:00:43Z","updated_at":"2015-04-29T11:23:52Z","pushed_at":"2015-05-11T13:08:16Z","git_url":"git://github.com/dashaluna/hm-content-toc.git","ssh_url":"git@github.com:dashaluna/hm-content-toc.git","clone_url":"https://github.com/dashaluna/hm-content-toc.git","svn_url":"https://github.com/dashaluna/hm-content-toc","homepage":null,"size":308,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":1,"default_branch":"master"}},"base":{"label":"dashaluna:master","ref":"master","sha":"f0a87d3544758ab3e6681f094ea2d874711e41ae","user":{"login":"dashaluna","id":2185972,"avatar_url":"https://avatars.githubusercontent.com/u/2185972?v=3","gravatar_id":"","url":"https://api.github.com/users/dashaluna","html_url":"https://github.com/dashaluna","followers_url":"https://api.github.com/users/dashaluna/followers","following_url":"https://api.github.com/users/dashaluna/following{/other_user}","gists_url":"https://api.github.com/users/dashaluna/gists{/gist_id}","starred_url":"https://api.github.com/users/dashaluna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashaluna/subscriptions","organizations_url":"https://api.github.com/users/dashaluna/orgs","repos_url":"https://api.github.com/users/dashaluna/repos","events_url":"https://api.github.com/users/dashaluna/events{/privacy}","received_events_url":"https://api.github.com/users/dashaluna/received_events","type":"User","site_admin":false},"repo":{"id":34321749,"name":"hm-content-toc","full_name":"dashaluna/hm-content-toc","owner":{"login":"dashaluna","id":2185972,"avatar_url":"https://avatars.githubusercontent.com/u/2185972?v=3","gravatar_id":"","url":"https://api.github.com/users/dashaluna","html_url":"https://github.com/dashaluna","followers_url":"https://api.github.com/users/dashaluna/followers","following_url":"https://api.github.com/users/dashaluna/following{/other_user}","gists_url":"https://api.github.com/users/dashaluna/gists{/gist_id}","starred_url":"https://api.github.com/users/dashaluna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashaluna/subscriptions","organizations_url":"https://api.github.com/users/dashaluna/orgs","repos_url":"https://api.github.com/users/dashaluna/repos","events_url":"https://api.github.com/users/dashaluna/events{/privacy}","received_events_url":"https://api.github.com/users/dashaluna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dashaluna/hm-content-toc","description":"WordPress plugin. Creates content TOC for specified header elements from the current post content. Adds anchor elements in the content just before the matched headers.","fork":false,"url":"https://api.github.com/repos/dashaluna/hm-content-toc","forks_url":"https://api.github.com/repos/dashaluna/hm-content-toc/forks","keys_url":"https://api.github.com/repos/dashaluna/hm-content-toc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dashaluna/hm-content-toc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dashaluna/hm-content-toc/teams","hooks_url":"https://api.github.com/repos/dashaluna/hm-content-toc/hooks","issue_events_url":"https://api.github.com/repos/dashaluna/hm-content-toc/issues/events{/number}","events_url":"https://api.github.com/repos/dashaluna/hm-content-toc/events","assignees_url":"https://api.github.com/repos/dashaluna/hm-content-toc/assignees{/user}","branches_url":"https://api.github.com/repos/dashaluna/hm-content-toc/branches{/branch}","tags_url":"https://api.github.com/repos/dashaluna/hm-content-toc/tags","blobs_url":"https://api.github.com/repos/dashaluna/hm-content-toc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dashaluna/hm-content-toc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dashaluna/hm-content-toc/git/refs{/sha}","trees_url":"https://api.github.com/repos/dashaluna/hm-content-toc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dashaluna/hm-content-toc/statuses/{sha}","languages_url":"https://api.github.com/repos/dashaluna/hm-content-toc/languages","stargazers_url":"https://api.github.com/repos/dashaluna/hm-content-toc/stargazers","contributors_url":"https://api.github.com/repos/dashaluna/hm-content-toc/contributors","subscribers_url":"https://api.github.com/repos/dashaluna/hm-content-toc/subscribers","subscription_url":"https://api.github.com/repos/dashaluna/hm-content-toc/subscription","commits_url":"https://api.github.com/repos/dashaluna/hm-content-toc/commits{/sha}","git_commits_url":"https://api.github.com/repos/dashaluna/hm-content-toc/git/commits{/sha}","comments_url":"https://api.github.com/repos/dashaluna/hm-content-toc/comments{/number}","issue_comment_url":"https://api.github.com/repos/dashaluna/hm-content-toc/issues/comments{/number}","contents_url":"https://api.github.com/repos/dashaluna/hm-content-toc/contents/{+path}","compare_url":"https://api.github.com/repos/dashaluna/hm-content-toc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dashaluna/hm-content-toc/merges","archive_url":"https://api.github.com/repos/dashaluna/hm-content-toc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dashaluna/hm-content-toc/downloads","issues_url":"https://api.github.com/repos/dashaluna/hm-content-toc/issues{/number}","pulls_url":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls{/number}","milestones_url":"https://api.github.com/repos/dashaluna/hm-content-toc/milestones{/number}","notifications_url":"https://api.github.com/repos/dashaluna/hm-content-toc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dashaluna/hm-content-toc/labels{/name}","releases_url":"https://api.github.com/repos/dashaluna/hm-content-toc/releases{/id}","created_at":"2015-04-21T11:00:43Z","updated_at":"2015-04-29T11:23:52Z","pushed_at":"2015-05-11T13:08:16Z","git_url":"git://github.com/dashaluna/hm-content-toc.git","ssh_url":"git@github.com:dashaluna/hm-content-toc.git","clone_url":"https://github.com/dashaluna/hm-content-toc.git","svn_url":"https://github.com/dashaluna/hm-content-toc","homepage":null,"size":308,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls/28"},"html":{"href":"https://github.com/dashaluna/hm-content-toc/pull/28"},"issue":{"href":"https://api.github.com/repos/dashaluna/hm-content-toc/issues/28"},"comments":{"href":"https://api.github.com/repos/dashaluna/hm-content-toc/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dashaluna/hm-content-toc/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/dashaluna/hm-content-toc/statuses/2ff0e0581ce44b4495b2a14fe7f1da1760a134d4"}}}}