{"action":"closed","number":1609,"pull_request":{"url":"https://api.github.com/repos/gogits/gogs/pulls/1609","id":44528829,"html_url":"https://github.com/gogits/gogs/pull/1609","diff_url":"https://github.com/gogits/gogs/pull/1609.diff","patch_url":"https://github.com/gogits/gogs/pull/1609.patch","issue_url":"https://api.github.com/repos/gogits/gogs/issues/1609","number":1609,"state":"closed","locked":false,"title":"Add allow attribute `class` to `<code>` tag","user":{"login":"denghongcai","id":1433247,"avatar_url":"https://avatars.githubusercontent.com/u/1433247?v=3","gravatar_id":"","url":"https://api.github.com/users/denghongcai","html_url":"https://github.com/denghongcai","followers_url":"https://api.github.com/users/denghongcai/followers","following_url":"https://api.github.com/users/denghongcai/following{/other_user}","gists_url":"https://api.github.com/users/denghongcai/gists{/gist_id}","starred_url":"https://api.github.com/users/denghongcai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denghongcai/subscriptions","organizations_url":"https://api.github.com/users/denghongcai/orgs","repos_url":"https://api.github.com/users/denghongcai/repos","events_url":"https://api.github.com/users/denghongcai/events{/privacy}","received_events_url":"https://api.github.com/users/denghongcai/received_events","type":"User","site_admin":false},"body":"PR for #1608 \r\n\r\n我这里没有Mac环境没法用codekit，还需要修改highlight.js的配置为\r\n\r\n```javascript\r\nhljs.configure({\r\n  classPrefix: 'language-'\r\n})\r\n```","created_at":"2015-09-09T09:39:00Z","updated_at":"2015-09-10T09:51:17Z","closed_at":"2015-09-10T09:51:17Z","merged_at":"2015-09-10T09:51:17Z","merge_commit_sha":"4a5f10f84d4c5078d1a26f7001961150d79a1152","assignee":null,"milestone":{"url":"https://api.github.com/repos/gogits/gogs/milestones/9","html_url":"https://github.com/gogits/gogs/milestones/0.7.0","labels_url":"https://api.github.com/repos/gogits/gogs/milestones/9/labels","id":1226114,"number":9,"title":"0.7.0","description":"","creator":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"open_issues":65,"closed_issues":24,"state":"open","created_at":"2015-07-26T11:28:23Z","updated_at":"2015-09-10T09:51:17Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/gogits/gogs/pulls/1609/commits","review_comments_url":"https://api.github.com/repos/gogits/gogs/pulls/1609/comments","review_comment_url":"https://api.github.com/repos/gogits/gogs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/1609/comments","statuses_url":"https://api.github.com/repos/gogits/gogs/statuses/e4d4662074472106f6a2baeb202f242196565482","head":{"label":"denghongcai:develop","ref":"develop","sha":"e4d4662074472106f6a2baeb202f242196565482","user":{"login":"denghongcai","id":1433247,"avatar_url":"https://avatars.githubusercontent.com/u/1433247?v=3","gravatar_id":"","url":"https://api.github.com/users/denghongcai","html_url":"https://github.com/denghongcai","followers_url":"https://api.github.com/users/denghongcai/followers","following_url":"https://api.github.com/users/denghongcai/following{/other_user}","gists_url":"https://api.github.com/users/denghongcai/gists{/gist_id}","starred_url":"https://api.github.com/users/denghongcai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denghongcai/subscriptions","organizations_url":"https://api.github.com/users/denghongcai/orgs","repos_url":"https://api.github.com/users/denghongcai/repos","events_url":"https://api.github.com/users/denghongcai/events{/privacy}","received_events_url":"https://api.github.com/users/denghongcai/received_events","type":"User","site_admin":false},"repo":{"id":42045330,"name":"gogs","full_name":"denghongcai/gogs","owner":{"login":"denghongcai","id":1433247,"avatar_url":"https://avatars.githubusercontent.com/u/1433247?v=3","gravatar_id":"","url":"https://api.github.com/users/denghongcai","html_url":"https://github.com/denghongcai","followers_url":"https://api.github.com/users/denghongcai/followers","following_url":"https://api.github.com/users/denghongcai/following{/other_user}","gists_url":"https://api.github.com/users/denghongcai/gists{/gist_id}","starred_url":"https://api.github.com/users/denghongcai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denghongcai/subscriptions","organizations_url":"https://api.github.com/users/denghongcai/orgs","repos_url":"https://api.github.com/users/denghongcai/repos","events_url":"https://api.github.com/users/denghongcai/events{/privacy}","received_events_url":"https://api.github.com/users/denghongcai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/denghongcai/gogs","description":"Gogs(Go Git Service) is a painless self-hosted Git Service.","fork":true,"url":"https://api.github.com/repos/denghongcai/gogs","forks_url":"https://api.github.com/repos/denghongcai/gogs/forks","keys_url":"https://api.github.com/repos/denghongcai/gogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/denghongcai/gogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/denghongcai/gogs/teams","hooks_url":"https://api.github.com/repos/denghongcai/gogs/hooks","issue_events_url":"https://api.github.com/repos/denghongcai/gogs/issues/events{/number}","events_url":"https://api.github.com/repos/denghongcai/gogs/events","assignees_url":"https://api.github.com/repos/denghongcai/gogs/assignees{/user}","branches_url":"https://api.github.com/repos/denghongcai/gogs/branches{/branch}","tags_url":"https://api.github.com/repos/denghongcai/gogs/tags","blobs_url":"https://api.github.com/repos/denghongcai/gogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/denghongcai/gogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/denghongcai/gogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/denghongcai/gogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/denghongcai/gogs/statuses/{sha}","languages_url":"https://api.github.com/repos/denghongcai/gogs/languages","stargazers_url":"https://api.github.com/repos/denghongcai/gogs/stargazers","contributors_url":"https://api.github.com/repos/denghongcai/gogs/contributors","subscribers_url":"https://api.github.com/repos/denghongcai/gogs/subscribers","subscription_url":"https://api.github.com/repos/denghongcai/gogs/subscription","commits_url":"https://api.github.com/repos/denghongcai/gogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/denghongcai/gogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/denghongcai/gogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/denghongcai/gogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/denghongcai/gogs/contents/{+path}","compare_url":"https://api.github.com/repos/denghongcai/gogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/denghongcai/gogs/merges","archive_url":"https://api.github.com/repos/denghongcai/gogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/denghongcai/gogs/downloads","issues_url":"https://api.github.com/repos/denghongcai/gogs/issues{/number}","pulls_url":"https://api.github.com/repos/denghongcai/gogs/pulls{/number}","milestones_url":"https://api.github.com/repos/denghongcai/gogs/milestones{/number}","notifications_url":"https://api.github.com/repos/denghongcai/gogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/denghongcai/gogs/labels{/name}","releases_url":"https://api.github.com/repos/denghongcai/gogs/releases{/id}","created_at":"2015-09-07T09:56:13Z","updated_at":"2015-09-07T09:56:15Z","pushed_at":"2015-09-10T01:07:15Z","git_url":"git://github.com/denghongcai/gogs.git","ssh_url":"git@github.com:denghongcai/gogs.git","clone_url":"https://github.com/denghongcai/gogs.git","svn_url":"https://github.com/denghongcai/gogs","homepage":"http://gogs.io","size":23592,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"gogits:develop","ref":"develop","sha":"f432f1f41c8a6dafee9b94abe9dccc972a839f87","user":{"login":"gogits","id":6656686,"avatar_url":"https://avatars.githubusercontent.com/u/6656686?v=3","gravatar_id":"","url":"https://api.github.com/users/gogits","html_url":"https://github.com/gogits","followers_url":"https://api.github.com/users/gogits/followers","following_url":"https://api.github.com/users/gogits/following{/other_user}","gists_url":"https://api.github.com/users/gogits/gists{/gist_id}","starred_url":"https://api.github.com/users/gogits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogits/subscriptions","organizations_url":"https://api.github.com/users/gogits/orgs","repos_url":"https://api.github.com/users/gogits/repos","events_url":"https://api.github.com/users/gogits/events{/privacy}","received_events_url":"https://api.github.com/users/gogits/received_events","type":"Organization","site_admin":false},"repo":{"id":16752620,"name":"gogs","full_name":"gogits/gogs","owner":{"login":"gogits","id":6656686,"avatar_url":"https://avatars.githubusercontent.com/u/6656686?v=3","gravatar_id":"","url":"https://api.github.com/users/gogits","html_url":"https://github.com/gogits","followers_url":"https://api.github.com/users/gogits/followers","following_url":"https://api.github.com/users/gogits/following{/other_user}","gists_url":"https://api.github.com/users/gogits/gists{/gist_id}","starred_url":"https://api.github.com/users/gogits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogits/subscriptions","organizations_url":"https://api.github.com/users/gogits/orgs","repos_url":"https://api.github.com/users/gogits/repos","events_url":"https://api.github.com/users/gogits/events{/privacy}","received_events_url":"https://api.github.com/users/gogits/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gogits/gogs","description":"Gogs(Go Git Service) is a painless self-hosted Git Service.","fork":false,"url":"https://api.github.com/repos/gogits/gogs","forks_url":"https://api.github.com/repos/gogits/gogs/forks","keys_url":"https://api.github.com/repos/gogits/gogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gogits/gogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gogits/gogs/teams","hooks_url":"https://api.github.com/repos/gogits/gogs/hooks","issue_events_url":"https://api.github.com/repos/gogits/gogs/issues/events{/number}","events_url":"https://api.github.com/repos/gogits/gogs/events","assignees_url":"https://api.github.com/repos/gogits/gogs/assignees{/user}","branches_url":"https://api.github.com/repos/gogits/gogs/branches{/branch}","tags_url":"https://api.github.com/repos/gogits/gogs/tags","blobs_url":"https://api.github.com/repos/gogits/gogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gogits/gogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gogits/gogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/gogits/gogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gogits/gogs/statuses/{sha}","languages_url":"https://api.github.com/repos/gogits/gogs/languages","stargazers_url":"https://api.github.com/repos/gogits/gogs/stargazers","contributors_url":"https://api.github.com/repos/gogits/gogs/contributors","subscribers_url":"https://api.github.com/repos/gogits/gogs/subscribers","subscription_url":"https://api.github.com/repos/gogits/gogs/subscription","commits_url":"https://api.github.com/repos/gogits/gogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/gogits/gogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/gogits/gogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/gogits/gogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/gogits/gogs/contents/{+path}","compare_url":"https://api.github.com/repos/gogits/gogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gogits/gogs/merges","archive_url":"https://api.github.com/repos/gogits/gogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gogits/gogs/downloads","issues_url":"https://api.github.com/repos/gogits/gogs/issues{/number}","pulls_url":"https://api.github.com/repos/gogits/gogs/pulls{/number}","milestones_url":"https://api.github.com/repos/gogits/gogs/milestones{/number}","notifications_url":"https://api.github.com/repos/gogits/gogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gogits/gogs/labels{/name}","releases_url":"https://api.github.com/repos/gogits/gogs/releases{/id}","created_at":"2014-02-12T01:57:08Z","updated_at":"2015-09-10T08:27:40Z","pushed_at":"2015-09-10T09:51:18Z","git_url":"git://github.com/gogits/gogs.git","ssh_url":"git@github.com:gogits/gogs.git","clone_url":"https://github.com/gogits/gogs.git","svn_url":"https://github.com/gogits/gogs","homepage":"http://gogs.io","size":33173,"stargazers_count":8484,"watchers_count":8484,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":766,"mirror_url":null,"open_issues_count":249,"forks":766,"open_issues":249,"watchers":8484,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gogits/gogs/pulls/1609"},"html":{"href":"https://github.com/gogits/gogs/pull/1609"},"issue":{"href":"https://api.github.com/repos/gogits/gogs/issues/1609"},"comments":{"href":"https://api.github.com/repos/gogits/gogs/issues/1609/comments"},"review_comments":{"href":"https://api.github.com/repos/gogits/gogs/pulls/1609/comments"},"review_comment":{"href":"https://api.github.com/repos/gogits/gogs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gogits/gogs/pulls/1609/commits"},"statuses":{"href":"https://api.github.com/repos/gogits/gogs/statuses/e4d4662074472106f6a2baeb202f242196565482"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"comments":15,"review_comments":0,"commits":2,"additions":3,"deletions":1,"changed_files":1}}