{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/7922","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/7922/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/7922/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/7922/events","html_url":"https://github.com/openshift/origin/pull/7922","id":139772170,"number":7922,"title":"[WIP] Escape ANSI color codes in web console logs","user":{"login":"spadgett","id":1167259,"avatar_url":"https://avatars.githubusercontent.com/u/1167259?v=3","gravatar_id":"","url":"https://api.github.com/users/spadgett","html_url":"https://github.com/spadgett","followers_url":"https://api.github.com/users/spadgett/followers","following_url":"https://api.github.com/users/spadgett/following{/other_user}","gists_url":"https://api.github.com/users/spadgett/gists{/gist_id}","starred_url":"https://api.github.com/users/spadgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spadgett/subscriptions","organizations_url":"https://api.github.com/users/spadgett/orgs","repos_url":"https://api.github.com/users/spadgett/repos","events_url":"https://api.github.com/users/spadgett/events{/privacy}","received_events_url":"https://api.github.com/users/spadgett/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/component/web","name":"component/web","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"jwforres","id":1467629,"avatar_url":"https://avatars.githubusercontent.com/u/1467629?v=3","gravatar_id":"","url":"https://api.github.com/users/jwforres","html_url":"https://github.com/jwforres","followers_url":"https://api.github.com/users/jwforres/followers","following_url":"https://api.github.com/users/jwforres/following{/other_user}","gists_url":"https://api.github.com/users/jwforres/gists{/gist_id}","starred_url":"https://api.github.com/users/jwforres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwforres/subscriptions","organizations_url":"https://api.github.com/users/jwforres/orgs","repos_url":"https://api.github.com/users/jwforres/repos","events_url":"https://api.github.com/users/jwforres/events{/privacy}","received_events_url":"https://api.github.com/users/jwforres/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-03-10T03:21:03Z","updated_at":"2016-03-10T20:20:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/7922","html_url":"https://github.com/openshift/origin/pull/7922","diff_url":"https://github.com/openshift/origin/pull/7922.diff","patch_url":"https://github.com/openshift/origin/pull/7922.patch"},"body":"Escapes color codes and replaces links with anchor tags. Uses the ansi_up library.\r\n\r\nhttps://github.com/drudru/ansi_up\r\n\r\nSee #6931\r\nhttps://trello.com/c/goZPKVEm\r\n\r\nTODO\r\n\r\n- [ ] Assess performance for large logs\r\n- [x] Look at carriage returns in Maven log output\r\n\r\n<img width=\"894\" alt=\"openshift_web_console\" src=\"https://cloud.githubusercontent.com/assets/1167259/13658288/9f1c2658-e643-11e5-8a6f-8e6cb08e9900.png\">\r\n\r\n/cc @jwforres "},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/195030819","html_url":"https://github.com/openshift/origin/pull/7922#issuecomment-195030819","issue_url":"https://api.github.com/repos/openshift/origin/issues/7922","id":195030819,"user":{"login":"spadgett","id":1167259,"avatar_url":"https://avatars.githubusercontent.com/u/1167259?v=3","gravatar_id":"","url":"https://api.github.com/users/spadgett","html_url":"https://github.com/spadgett","followers_url":"https://api.github.com/users/spadgett/followers","following_url":"https://api.github.com/users/spadgett/following{/other_user}","gists_url":"https://api.github.com/users/spadgett/gists{/gist_id}","starred_url":"https://api.github.com/users/spadgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spadgett/subscriptions","organizations_url":"https://api.github.com/users/spadgett/orgs","repos_url":"https://api.github.com/users/spadgett/repos","events_url":"https://api.github.com/users/spadgett/events{/privacy}","received_events_url":"https://api.github.com/users/spadgett/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T20:20:11Z","updated_at":"2016-03-10T20:20:11Z","body":"@jwforres It's ansi_up that's inserting the line breaks into the markup. I didn't do anything special. If we want to increment line numbers, we'd need to do something else."}}