{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/2220","labels_url":"https://api.github.com/repos/gogits/gogs/issues/2220/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/2220/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/2220/events","html_url":"https://github.com/gogits/gogs/issues/2220","id":122675230,"number":2220,"title":"Diff style","user":{"login":"JokerQyou","id":1465267,"avatar_url":"https://avatars.githubusercontent.com/u/1465267?v=3","gravatar_id":"","url":"https://api.github.com/users/JokerQyou","html_url":"https://github.com/JokerQyou","followers_url":"https://api.github.com/users/JokerQyou/followers","following_url":"https://api.github.com/users/JokerQyou/following{/other_user}","gists_url":"https://api.github.com/users/JokerQyou/gists{/gist_id}","starred_url":"https://api.github.com/users/JokerQyou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JokerQyou/subscriptions","organizations_url":"https://api.github.com/users/JokerQyou/orgs","repos_url":"https://api.github.com/users/JokerQyou/repos","events_url":"https://api.github.com/users/JokerQyou/events{/privacy}","received_events_url":"https://api.github.com/users/JokerQyou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/feedback%20needed","name":"feedback needed","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gogits/gogs/milestones/9","html_url":"https://github.com/gogits/gogs/milestones/0.9.0","labels_url":"https://api.github.com/repos/gogits/gogs/milestones/9/labels","id":1226114,"number":9,"title":"0.9.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":115,"closed_issues":16,"state":"open","created_at":"2015-07-26T11:28:23Z","updated_at":"2015-12-17T07:31:51Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-12-17T07:05:21Z","updated_at":"2015-12-17T07:32:36Z","closed_at":"2015-12-17T07:28:02Z","body":"Currently the diff is compared by line, but Github and GitLab do provide more detailed diff. Let's compare the page style and you could see they seem to diff the files by word / letter.\r\n\r\nGithub:\r\n![image](https://cloud.githubusercontent.com/assets/1465267/11863515/6caecea6-a4cf-11e5-87a5-d0bef0c10c46.png)\r\n\r\nGogs:\r\n![image](https://cloud.githubusercontent.com/assets/1465267/11863516/722a3208-a4cf-11e5-9a5d-69faf302daff.png)\r\n\r\nAnd also, the padding / margin of the diff view seem to be different from other elements on the page, which make the page look strange."},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/165372227","html_url":"https://github.com/gogits/gogs/issues/2220#issuecomment-165372227","issue_url":"https://api.github.com/repos/gogits/gogs/issues/2220","id":165372227,"user":{"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},"created_at":"2015-12-17T07:32:36Z","updated_at":"2015-12-17T07:32:36Z","body":"Yeah, actually you're in the latest release that's right, but diff UI is slightly changed in `master` and demo site :D"}}