{"action":"created","comment":{"url":"https://api.github.com/repos/russross/blackfriday/pulls/comments/47608599","id":47608599,"diff_hunk":"@@ -416,6 +419,35 @@ func (p *parser) htmlComment(out *bytes.Buffer, data []byte, doRender bool) int\n \treturn 0\n }\n \n+// HTML comment, lax form\n+func (p *parser) htmlComment(out *bytes.Buffer, data []byte, doRender bool) int {\n+\ti := p.inlineHtmlComment(out, data)\n+\treturn p.renderHtmlBlock(out, data, i, doRender)\n+}\n+\n+// HTML CDATA section\n+func (p *parser) htmlCDATA(out *bytes.Buffer, data []byte, doRender bool) int {\n+\tcdataTag := \"<![cdata[\"\n+\tcdataTagLen := len(cdataTag)","path":"block.go","position":42,"original_position":42,"commit_id":"05a79218edc4c95d46c7be8f5af8b17f752d5061","original_commit_id":"05a79218edc4c95d46c7be8f5af8b17f752d5061","user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"body":"These could be made `const`:\r\n\r\n```Go\r\nconst cdataTag = \"<![cdata[\"\r\nconst cdataTagLen = len(cdataTag)\r\n```\r\n\r\nWhat do you think?","created_at":"2015-12-15T08:29:48Z","updated_at":"2015-12-15T08:29:48Z","html_url":"https://github.com/russross/blackfriday/pull/225#discussion_r47608599","pull_request_url":"https://api.github.com/repos/russross/blackfriday/pulls/225","_links":{"self":{"href":"https://api.github.com/repos/russross/blackfriday/pulls/comments/47608599"},"html":{"href":"https://github.com/russross/blackfriday/pull/225#discussion_r47608599"},"pull_request":{"href":"https://api.github.com/repos/russross/blackfriday/pulls/225"}}},"pull_request":{"url":"https://api.github.com/repos/russross/blackfriday/pulls/225","id":53607904,"html_url":"https://github.com/russross/blackfriday/pull/225","diff_url":"https://github.com/russross/blackfriday/pull/225.diff","patch_url":"https://github.com/russross/blackfriday/pull/225.patch","issue_url":"https://api.github.com/repos/russross/blackfriday/issues/225","number":225,"state":"open","locked":false,"title":"Implement support for CDATA section","user":{"login":"rtfb","id":426340,"avatar_url":"https://avatars.githubusercontent.com/u/426340?v=3","gravatar_id":"","url":"https://api.github.com/users/rtfb","html_url":"https://github.com/rtfb","followers_url":"https://api.github.com/users/rtfb/followers","following_url":"https://api.github.com/users/rtfb/following{/other_user}","gists_url":"https://api.github.com/users/rtfb/gists{/gist_id}","starred_url":"https://api.github.com/users/rtfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtfb/subscriptions","organizations_url":"https://api.github.com/users/rtfb/orgs","repos_url":"https://api.github.com/users/rtfb/repos","events_url":"https://api.github.com/users/rtfb/events{/privacy}","received_events_url":"https://api.github.com/users/rtfb/received_events","type":"User","site_admin":false},"body":"Fixes #165.","created_at":"2015-12-14T19:11:32Z","updated_at":"2015-12-15T08:29:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f4b36d1a05ed9c77f5151f0d0733880aa627d05","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/russross/blackfriday/pulls/225/commits","review_comments_url":"https://api.github.com/repos/russross/blackfriday/pulls/225/comments","review_comment_url":"https://api.github.com/repos/russross/blackfriday/pulls/comments{/number}","comments_url":"https://api.github.com/repos/russross/blackfriday/issues/225/comments","statuses_url":"https://api.github.com/repos/russross/blackfriday/statuses/05a79218edc4c95d46c7be8f5af8b17f752d5061","head":{"label":"russross:issue-165","ref":"issue-165","sha":"05a79218edc4c95d46c7be8f5af8b17f752d5061","user":{"login":"russross","id":65428,"avatar_url":"https://avatars.githubusercontent.com/u/65428?v=3","gravatar_id":"","url":"https://api.github.com/users/russross","html_url":"https://github.com/russross","followers_url":"https://api.github.com/users/russross/followers","following_url":"https://api.github.com/users/russross/following{/other_user}","gists_url":"https://api.github.com/users/russross/gists{/gist_id}","starred_url":"https://api.github.com/users/russross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russross/subscriptions","organizations_url":"https://api.github.com/users/russross/orgs","repos_url":"https://api.github.com/users/russross/repos","events_url":"https://api.github.com/users/russross/events{/privacy}","received_events_url":"https://api.github.com/users/russross/received_events","type":"User","site_admin":false},"repo":{"id":1812190,"name":"blackfriday","full_name":"russross/blackfriday","owner":{"login":"russross","id":65428,"avatar_url":"https://avatars.githubusercontent.com/u/65428?v=3","gravatar_id":"","url":"https://api.github.com/users/russross","html_url":"https://github.com/russross","followers_url":"https://api.github.com/users/russross/followers","following_url":"https://api.github.com/users/russross/following{/other_user}","gists_url":"https://api.github.com/users/russross/gists{/gist_id}","starred_url":"https://api.github.com/users/russross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russross/subscriptions","organizations_url":"https://api.github.com/users/russross/orgs","repos_url":"https://api.github.com/users/russross/repos","events_url":"https://api.github.com/users/russross/events{/privacy}","received_events_url":"https://api.github.com/users/russross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/russross/blackfriday","description":"Blackfriday: a markdown processor for Go","fork":false,"url":"https://api.github.com/repos/russross/blackfriday","forks_url":"https://api.github.com/repos/russross/blackfriday/forks","keys_url":"https://api.github.com/repos/russross/blackfriday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/russross/blackfriday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/russross/blackfriday/teams","hooks_url":"https://api.github.com/repos/russross/blackfriday/hooks","issue_events_url":"https://api.github.com/repos/russross/blackfriday/issues/events{/number}","events_url":"https://api.github.com/repos/russross/blackfriday/events","assignees_url":"https://api.github.com/repos/russross/blackfriday/assignees{/user}","branches_url":"https://api.github.com/repos/russross/blackfriday/branches{/branch}","tags_url":"https://api.github.com/repos/russross/blackfriday/tags","blobs_url":"https://api.github.com/repos/russross/blackfriday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/russross/blackfriday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/russross/blackfriday/git/refs{/sha}","trees_url":"https://api.github.com/repos/russross/blackfriday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/russross/blackfriday/statuses/{sha}","languages_url":"https://api.github.com/repos/russross/blackfriday/languages","stargazers_url":"https://api.github.com/repos/russross/blackfriday/stargazers","contributors_url":"https://api.github.com/repos/russross/blackfriday/contributors","subscribers_url":"https://api.github.com/repos/russross/blackfriday/subscribers","subscription_url":"https://api.github.com/repos/russross/blackfriday/subscription","commits_url":"https://api.github.com/repos/russross/blackfriday/commits{/sha}","git_commits_url":"https://api.github.com/repos/russross/blackfriday/git/commits{/sha}","comments_url":"https://api.github.com/repos/russross/blackfriday/comments{/number}","issue_comment_url":"https://api.github.com/repos/russross/blackfriday/issues/comments{/number}","contents_url":"https://api.github.com/repos/russross/blackfriday/contents/{+path}","compare_url":"https://api.github.com/repos/russross/blackfriday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/russross/blackfriday/merges","archive_url":"https://api.github.com/repos/russross/blackfriday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/russross/blackfriday/downloads","issues_url":"https://api.github.com/repos/russross/blackfriday/issues{/number}","pulls_url":"https://api.github.com/repos/russross/blackfriday/pulls{/number}","milestones_url":"https://api.github.com/repos/russross/blackfriday/milestones{/number}","notifications_url":"https://api.github.com/repos/russross/blackfriday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/russross/blackfriday/labels{/name}","releases_url":"https://api.github.com/repos/russross/blackfriday/releases{/id}","created_at":"2011-05-27T22:28:58Z","updated_at":"2015-12-13T23:37:21Z","pushed_at":"2015-12-14T19:11:33Z","git_url":"git://github.com/russross/blackfriday.git","ssh_url":"git@github.com:russross/blackfriday.git","clone_url":"https://github.com/russross/blackfriday.git","svn_url":"https://github.com/russross/blackfriday","homepage":"","size":948,"stargazers_count":1604,"watchers_count":1604,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":236,"mirror_url":null,"open_issues_count":32,"forks":236,"open_issues":32,"watchers":1604,"default_branch":"master"}},"base":{"label":"russross:master","ref":"master","sha":"d18b67ae0afd61dae240896eae1785f00709aa31","user":{"login":"russross","id":65428,"avatar_url":"https://avatars.githubusercontent.com/u/65428?v=3","gravatar_id":"","url":"https://api.github.com/users/russross","html_url":"https://github.com/russross","followers_url":"https://api.github.com/users/russross/followers","following_url":"https://api.github.com/users/russross/following{/other_user}","gists_url":"https://api.github.com/users/russross/gists{/gist_id}","starred_url":"https://api.github.com/users/russross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russross/subscriptions","organizations_url":"https://api.github.com/users/russross/orgs","repos_url":"https://api.github.com/users/russross/repos","events_url":"https://api.github.com/users/russross/events{/privacy}","received_events_url":"https://api.github.com/users/russross/received_events","type":"User","site_admin":false},"repo":{"id":1812190,"name":"blackfriday","full_name":"russross/blackfriday","owner":{"login":"russross","id":65428,"avatar_url":"https://avatars.githubusercontent.com/u/65428?v=3","gravatar_id":"","url":"https://api.github.com/users/russross","html_url":"https://github.com/russross","followers_url":"https://api.github.com/users/russross/followers","following_url":"https://api.github.com/users/russross/following{/other_user}","gists_url":"https://api.github.com/users/russross/gists{/gist_id}","starred_url":"https://api.github.com/users/russross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russross/subscriptions","organizations_url":"https://api.github.com/users/russross/orgs","repos_url":"https://api.github.com/users/russross/repos","events_url":"https://api.github.com/users/russross/events{/privacy}","received_events_url":"https://api.github.com/users/russross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/russross/blackfriday","description":"Blackfriday: a markdown processor for Go","fork":false,"url":"https://api.github.com/repos/russross/blackfriday","forks_url":"https://api.github.com/repos/russross/blackfriday/forks","keys_url":"https://api.github.com/repos/russross/blackfriday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/russross/blackfriday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/russross/blackfriday/teams","hooks_url":"https://api.github.com/repos/russross/blackfriday/hooks","issue_events_url":"https://api.github.com/repos/russross/blackfriday/issues/events{/number}","events_url":"https://api.github.com/repos/russross/blackfriday/events","assignees_url":"https://api.github.com/repos/russross/blackfriday/assignees{/user}","branches_url":"https://api.github.com/repos/russross/blackfriday/branches{/branch}","tags_url":"https://api.github.com/repos/russross/blackfriday/tags","blobs_url":"https://api.github.com/repos/russross/blackfriday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/russross/blackfriday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/russross/blackfriday/git/refs{/sha}","trees_url":"https://api.github.com/repos/russross/blackfriday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/russross/blackfriday/statuses/{sha}","languages_url":"https://api.github.com/repos/russross/blackfriday/languages","stargazers_url":"https://api.github.com/repos/russross/blackfriday/stargazers","contributors_url":"https://api.github.com/repos/russross/blackfriday/contributors","subscribers_url":"https://api.github.com/repos/russross/blackfriday/subscribers","subscription_url":"https://api.github.com/repos/russross/blackfriday/subscription","commits_url":"https://api.github.com/repos/russross/blackfriday/commits{/sha}","git_commits_url":"https://api.github.com/repos/russross/blackfriday/git/commits{/sha}","comments_url":"https://api.github.com/repos/russross/blackfriday/comments{/number}","issue_comment_url":"https://api.github.com/repos/russross/blackfriday/issues/comments{/number}","contents_url":"https://api.github.com/repos/russross/blackfriday/contents/{+path}","compare_url":"https://api.github.com/repos/russross/blackfriday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/russross/blackfriday/merges","archive_url":"https://api.github.com/repos/russross/blackfriday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/russross/blackfriday/downloads","issues_url":"https://api.github.com/repos/russross/blackfriday/issues{/number}","pulls_url":"https://api.github.com/repos/russross/blackfriday/pulls{/number}","milestones_url":"https://api.github.com/repos/russross/blackfriday/milestones{/number}","notifications_url":"https://api.github.com/repos/russross/blackfriday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/russross/blackfriday/labels{/name}","releases_url":"https://api.github.com/repos/russross/blackfriday/releases{/id}","created_at":"2011-05-27T22:28:58Z","updated_at":"2015-12-13T23:37:21Z","pushed_at":"2015-12-14T19:11:33Z","git_url":"git://github.com/russross/blackfriday.git","ssh_url":"git@github.com:russross/blackfriday.git","clone_url":"https://github.com/russross/blackfriday.git","svn_url":"https://github.com/russross/blackfriday","homepage":"","size":948,"stargazers_count":1604,"watchers_count":1604,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":236,"mirror_url":null,"open_issues_count":32,"forks":236,"open_issues":32,"watchers":1604,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/russross/blackfriday/pulls/225"},"html":{"href":"https://github.com/russross/blackfriday/pull/225"},"issue":{"href":"https://api.github.com/repos/russross/blackfriday/issues/225"},"comments":{"href":"https://api.github.com/repos/russross/blackfriday/issues/225/comments"},"review_comments":{"href":"https://api.github.com/repos/russross/blackfriday/pulls/225/comments"},"review_comment":{"href":"https://api.github.com/repos/russross/blackfriday/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/russross/blackfriday/pulls/225/commits"},"statuses":{"href":"https://api.github.com/repos/russross/blackfriday/statuses/05a79218edc4c95d46c7be8f5af8b17f752d5061"}}}}