{"action":"created","comment":{"url":"https://api.github.com/repos/gogs/gogs/pulls/comments/191060482","pull_request_review_id":123568413,"id":191060482,"diff_hunk":"@@ -65,6 +65,7 @@ func NewFuncMap() []template.FuncMap {\n \t\t\"Safe\":             Safe,\n \t\t\"Sanitize\":         bluemonday.UGCPolicy().Sanitize,\n \t\t\"Str2html\":         Str2html,\n+\t\t\"nl2br\":            nl2br,","path":"pkg/template/template.go","position":4,"original_position":4,"commit_id":"157417b5805fb4f1e9eefd0b9dcf4b1e599bee6c","original_commit_id":"157417b5805fb4f1e9eefd0b9dcf4b1e599bee6c","user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars3.githubusercontent.com/u/2946214?v=4","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},"body":"s/nl2br/NewLine2br/ feels better?","created_at":"2018-05-26T23:07:28Z","updated_at":"2018-05-26T23:07:34Z","html_url":"https://github.com/gogs/gogs/pull/5242#discussion_r191060482","pull_request_url":"https://api.github.com/repos/gogs/gogs/pulls/5242","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/gogs/gogs/pulls/comments/191060482"},"html":{"href":"https://github.com/gogs/gogs/pull/5242#discussion_r191060482"},"pull_request":{"href":"https://api.github.com/repos/gogs/gogs/pulls/5242"}}},"pull_request":{"url":"https://api.github.com/repos/gogs/gogs/pulls/5242","id":190388621,"html_url":"https://github.com/gogs/gogs/pull/5242","diff_url":"https://github.com/gogs/gogs/pull/5242.diff","patch_url":"https://github.com/gogs/gogs/pull/5242.patch","issue_url":"https://api.github.com/repos/gogs/gogs/issues/5242","number":5242,"state":"open","locked":false,"title":"Simple html filter for repository description","user":{"login":"sergey-dryabzhinsky","id":717597,"avatar_url":"https://avatars3.githubusercontent.com/u/717597?v=4","gravatar_id":"","url":"https://api.github.com/users/sergey-dryabzhinsky","html_url":"https://github.com/sergey-dryabzhinsky","followers_url":"https://api.github.com/users/sergey-dryabzhinsky/followers","following_url":"https://api.github.com/users/sergey-dryabzhinsky/following{/other_user}","gists_url":"https://api.github.com/users/sergey-dryabzhinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey-dryabzhinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey-dryabzhinsky/subscriptions","organizations_url":"https://api.github.com/users/sergey-dryabzhinsky/orgs","repos_url":"https://api.github.com/users/sergey-dryabzhinsky/repos","events_url":"https://api.github.com/users/sergey-dryabzhinsky/events{/privacy}","received_events_url":"https://api.github.com/users/sergey-dryabzhinsky/received_events","type":"User","site_admin":false},"body":"For issue #4822 \r\n\r\n- add new template filter function\r\n- use it in repo home template","created_at":"2018-05-24T19:01:01Z","updated_at":"2018-05-26T23:07:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"057d23d549f626ee0458a695a2e6d96a5a6db71d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":329941712,"url":"https://api.github.com/repos/gogs/gogs/labels/status/waits%20for%20review","name":"status/waits for review","color":"bfe5bf","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/gogs/gogs/pulls/5242/commits","review_comments_url":"https://api.github.com/repos/gogs/gogs/pulls/5242/comments","review_comment_url":"https://api.github.com/repos/gogs/gogs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gogs/gogs/issues/5242/comments","statuses_url":"https://api.github.com/repos/gogs/gogs/statuses/157417b5805fb4f1e9eefd0b9dcf4b1e599bee6c","head":{"label":"sergey-dryabzhinsky:issue-4822-markdown-in-repository-description","ref":"issue-4822-markdown-in-repository-description","sha":"157417b5805fb4f1e9eefd0b9dcf4b1e599bee6c","user":{"login":"sergey-dryabzhinsky","id":717597,"avatar_url":"https://avatars3.githubusercontent.com/u/717597?v=4","gravatar_id":"","url":"https://api.github.com/users/sergey-dryabzhinsky","html_url":"https://github.com/sergey-dryabzhinsky","followers_url":"https://api.github.com/users/sergey-dryabzhinsky/followers","following_url":"https://api.github.com/users/sergey-dryabzhinsky/following{/other_user}","gists_url":"https://api.github.com/users/sergey-dryabzhinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey-dryabzhinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey-dryabzhinsky/subscriptions","organizations_url":"https://api.github.com/users/sergey-dryabzhinsky/orgs","repos_url":"https://api.github.com/users/sergey-dryabzhinsky/repos","events_url":"https://api.github.com/users/sergey-dryabzhinsky/events{/privacy}","received_events_url":"https://api.github.com/users/sergey-dryabzhinsky/received_events","type":"User","site_admin":false},"repo":{"id":132742657,"name":"gogs","full_name":"sergey-dryabzhinsky/gogs","owner":{"login":"sergey-dryabzhinsky","id":717597,"avatar_url":"https://avatars3.githubusercontent.com/u/717597?v=4","gravatar_id":"","url":"https://api.github.com/users/sergey-dryabzhinsky","html_url":"https://github.com/sergey-dryabzhinsky","followers_url":"https://api.github.com/users/sergey-dryabzhinsky/followers","following_url":"https://api.github.com/users/sergey-dryabzhinsky/following{/other_user}","gists_url":"https://api.github.com/users/sergey-dryabzhinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey-dryabzhinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey-dryabzhinsky/subscriptions","organizations_url":"https://api.github.com/users/sergey-dryabzhinsky/orgs","repos_url":"https://api.github.com/users/sergey-dryabzhinsky/repos","events_url":"https://api.github.com/users/sergey-dryabzhinsky/events{/privacy}","received_events_url":"https://api.github.com/users/sergey-dryabzhinsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sergey-dryabzhinsky/gogs","description":"Gogs is a painless self-hosted Git service.","fork":true,"url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs","forks_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/forks","keys_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/teams","hooks_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/hooks","issue_events_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/issues/events{/number}","events_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/events","assignees_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/assignees{/user}","branches_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/branches{/branch}","tags_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/tags","blobs_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/statuses/{sha}","languages_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/languages","stargazers_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/stargazers","contributors_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/contributors","subscribers_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/subscribers","subscription_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/subscription","commits_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/contents/{+path}","compare_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/merges","archive_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/downloads","issues_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/issues{/number}","pulls_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/pulls{/number}","milestones_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/milestones{/number}","notifications_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/labels{/name}","releases_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/releases{/id}","deployments_url":"https://api.github.com/repos/sergey-dryabzhinsky/gogs/deployments","created_at":"2018-05-09T10:47:20Z","updated_at":"2018-05-09T10:47:24Z","pushed_at":"2018-05-25T09:05:22Z","git_url":"git://github.com/sergey-dryabzhinsky/gogs.git","ssh_url":"git@github.com:sergey-dryabzhinsky/gogs.git","clone_url":"https://github.com/sergey-dryabzhinsky/gogs.git","svn_url":"https://github.com/sergey-dryabzhinsky/gogs","homepage":"https://gogs.io","size":141397,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gogs:develop","ref":"develop","sha":"05edcde6c90941dec2f80bc178394d249ba6813e","user":{"login":"gogs","id":6656686,"avatar_url":"https://avatars0.githubusercontent.com/u/6656686?v=4","gravatar_id":"","url":"https://api.github.com/users/gogs","html_url":"https://github.com/gogs","followers_url":"https://api.github.com/users/gogs/followers","following_url":"https://api.github.com/users/gogs/following{/other_user}","gists_url":"https://api.github.com/users/gogs/gists{/gist_id}","starred_url":"https://api.github.com/users/gogs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogs/subscriptions","organizations_url":"https://api.github.com/users/gogs/orgs","repos_url":"https://api.github.com/users/gogs/repos","events_url":"https://api.github.com/users/gogs/events{/privacy}","received_events_url":"https://api.github.com/users/gogs/received_events","type":"Organization","site_admin":false},"repo":{"id":16752620,"name":"gogs","full_name":"gogs/gogs","owner":{"login":"gogs","id":6656686,"avatar_url":"https://avatars0.githubusercontent.com/u/6656686?v=4","gravatar_id":"","url":"https://api.github.com/users/gogs","html_url":"https://github.com/gogs","followers_url":"https://api.github.com/users/gogs/followers","following_url":"https://api.github.com/users/gogs/following{/other_user}","gists_url":"https://api.github.com/users/gogs/gists{/gist_id}","starred_url":"https://api.github.com/users/gogs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogs/subscriptions","organizations_url":"https://api.github.com/users/gogs/orgs","repos_url":"https://api.github.com/users/gogs/repos","events_url":"https://api.github.com/users/gogs/events{/privacy}","received_events_url":"https://api.github.com/users/gogs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gogs/gogs","description":"Gogs is a painless self-hosted Git service.","fork":false,"url":"https://api.github.com/repos/gogs/gogs","forks_url":"https://api.github.com/repos/gogs/gogs/forks","keys_url":"https://api.github.com/repos/gogs/gogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gogs/gogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gogs/gogs/teams","hooks_url":"https://api.github.com/repos/gogs/gogs/hooks","issue_events_url":"https://api.github.com/repos/gogs/gogs/issues/events{/number}","events_url":"https://api.github.com/repos/gogs/gogs/events","assignees_url":"https://api.github.com/repos/gogs/gogs/assignees{/user}","branches_url":"https://api.github.com/repos/gogs/gogs/branches{/branch}","tags_url":"https://api.github.com/repos/gogs/gogs/tags","blobs_url":"https://api.github.com/repos/gogs/gogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gogs/gogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gogs/gogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/gogs/gogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gogs/gogs/statuses/{sha}","languages_url":"https://api.github.com/repos/gogs/gogs/languages","stargazers_url":"https://api.github.com/repos/gogs/gogs/stargazers","contributors_url":"https://api.github.com/repos/gogs/gogs/contributors","subscribers_url":"https://api.github.com/repos/gogs/gogs/subscribers","subscription_url":"https://api.github.com/repos/gogs/gogs/subscription","commits_url":"https://api.github.com/repos/gogs/gogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/gogs/gogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/gogs/gogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/gogs/gogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/gogs/gogs/contents/{+path}","compare_url":"https://api.github.com/repos/gogs/gogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gogs/gogs/merges","archive_url":"https://api.github.com/repos/gogs/gogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gogs/gogs/downloads","issues_url":"https://api.github.com/repos/gogs/gogs/issues{/number}","pulls_url":"https://api.github.com/repos/gogs/gogs/pulls{/number}","milestones_url":"https://api.github.com/repos/gogs/gogs/milestones{/number}","notifications_url":"https://api.github.com/repos/gogs/gogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gogs/gogs/labels{/name}","releases_url":"https://api.github.com/repos/gogs/gogs/releases{/id}","deployments_url":"https://api.github.com/repos/gogs/gogs/deployments","created_at":"2014-02-12T01:57:08Z","updated_at":"2018-05-26T19:00:41Z","pushed_at":"2018-05-26T01:22:37Z","git_url":"git://github.com/gogs/gogs.git","ssh_url":"git@github.com:gogs/gogs.git","clone_url":"https://github.com/gogs/gogs.git","svn_url":"https://github.com/gogs/gogs","homepage":"https://gogs.io","size":141256,"stargazers_count":25045,"watchers_count":25045,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2916,"mirror_url":null,"archived":false,"open_issues_count":630,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2916,"open_issues":630,"watchers":25045,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gogs/gogs/pulls/5242"},"html":{"href":"https://github.com/gogs/gogs/pull/5242"},"issue":{"href":"https://api.github.com/repos/gogs/gogs/issues/5242"},"comments":{"href":"https://api.github.com/repos/gogs/gogs/issues/5242/comments"},"review_comments":{"href":"https://api.github.com/repos/gogs/gogs/pulls/5242/comments"},"review_comment":{"href":"https://api.github.com/repos/gogs/gogs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gogs/gogs/pulls/5242/commits"},"statuses":{"href":"https://api.github.com/repos/gogs/gogs/statuses/157417b5805fb4f1e9eefd0b9dcf4b1e599bee6c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Unknwon"}}