{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/9969","labels_url":"https://api.github.com/repos/golang/go/issues/9969/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/9969/comments","events_url":"https://api.github.com/repos/golang/go/issues/9969/events","html_url":"https://github.com/golang/go/issues/9969","id":58640706,"number":9969,"title":"text/template: no nice way to escape/suppress newlines","user":{"login":"Eloff","id":27574,"avatar_url":"https://avatars.githubusercontent.com/u/27574?v=3","gravatar_id":"","url":"https://api.github.com/users/Eloff","html_url":"https://github.com/Eloff","followers_url":"https://api.github.com/users/Eloff/followers","following_url":"https://api.github.com/users/Eloff/following{/other_user}","gists_url":"https://api.github.com/users/Eloff/gists{/gist_id}","starred_url":"https://api.github.com/users/Eloff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eloff/subscriptions","organizations_url":"https://api.github.com/users/Eloff/orgs","repos_url":"https://api.github.com/users/Eloff/repos","events_url":"https://api.github.com/users/Eloff/events{/privacy}","received_events_url":"https://api.github.com/users/Eloff/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"robpike","id":4324516,"avatar_url":"https://avatars.githubusercontent.com/u/4324516?v=3","gravatar_id":"","url":"https://api.github.com/users/robpike","html_url":"https://github.com/robpike","followers_url":"https://api.github.com/users/robpike/followers","following_url":"https://api.github.com/users/robpike/following{/other_user}","gists_url":"https://api.github.com/users/robpike/gists{/gist_id}","starred_url":"https://api.github.com/users/robpike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robpike/subscriptions","organizations_url":"https://api.github.com/users/robpike/orgs","repos_url":"https://api.github.com/users/robpike/repos","events_url":"https://api.github.com/users/robpike/events{/privacy}","received_events_url":"https://api.github.com/users/robpike/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/25","html_url":"https://github.com/golang/go/milestones/Go1.6Early","labels_url":"https://api.github.com/repos/golang/go/milestones/25/labels","id":1182837,"number":25,"title":"Go1.6Early","description":"Go 1.6 issues that need to be fixed before the code freeze.\r\n","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars.githubusercontent.com/u/104030?v=3","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":105,"closed_issues":18,"state":"open","created_at":"2015-06-26T15:47:06Z","updated_at":"2015-09-10T22:10:07Z","due_on":"2015-10-31T04:00:00Z","closed_at":null},"comments":36,"created_at":"2015-02-23T20:09:20Z","updated_at":"2015-09-11T09:39:16Z","closed_at":"2015-09-10T22:10:07Z","body":"In many text/template scenarios, when creating text files (e.g. csv) for machine consumption, or text documents for human consumption, it's desirable to control the newlines output by the template. Currently this involves jumping through hoops by moving template tags around, making the template very unreadable. A simple e.g \\ character at the end of a line would be nice to escape the newline so it doesn't end up in the output text, but the template tags can still be organized nicely in the template itself.\r\n\r\nSeems there was already a request for this on go-nuts: https://groups.google.com/forum/#!topic/golang-nuts/H_d6P6av8nk"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/139500759","html_url":"https://github.com/golang/go/issues/9969#issuecomment-139500759","issue_url":"https://api.github.com/repos/golang/go/issues/9969","id":139500759,"user":{"login":"zeeraw","id":751958,"avatar_url":"https://avatars.githubusercontent.com/u/751958?v=3","gravatar_id":"","url":"https://api.github.com/users/zeeraw","html_url":"https://github.com/zeeraw","followers_url":"https://api.github.com/users/zeeraw/followers","following_url":"https://api.github.com/users/zeeraw/following{/other_user}","gists_url":"https://api.github.com/users/zeeraw/gists{/gist_id}","starred_url":"https://api.github.com/users/zeeraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeeraw/subscriptions","organizations_url":"https://api.github.com/users/zeeraw/orgs","repos_url":"https://api.github.com/users/zeeraw/repos","events_url":"https://api.github.com/users/zeeraw/events{/privacy}","received_events_url":"https://api.github.com/users/zeeraw/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T09:39:16Z","updated_at":"2015-09-11T09:39:16Z","body":"Wohoo, thanks!"}}