{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/14418","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/14418/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/14418/comments","events_url":"https://api.github.com/repos/golang/go/issues/14418/events","html_url":"https://github.com/golang/go/issues/14418","id":135008388,"number":14418,"title":"golang.org text/template example fails","user":{"login":"wafture","id":7806510,"avatar_url":"https://avatars.githubusercontent.com/u/7806510?v=3","gravatar_id":"","url":"https://api.github.com/users/wafture","html_url":"https://github.com/wafture","followers_url":"https://api.github.com/users/wafture/followers","following_url":"https://api.github.com/users/wafture/following{/other_user}","gists_url":"https://api.github.com/users/wafture/gists{/gist_id}","starred_url":"https://api.github.com/users/wafture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wafture/subscriptions","organizations_url":"https://api.github.com/users/wafture/orgs","repos_url":"https://api.github.com/users/wafture/repos","events_url":"https://api.github.com/users/wafture/events{/privacy}","received_events_url":"https://api.github.com/users/wafture/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"adg","id":8446613,"avatar_url":"https://avatars.githubusercontent.com/u/8446613?v=3","gravatar_id":"","url":"https://api.github.com/users/adg","html_url":"https://github.com/adg","followers_url":"https://api.github.com/users/adg/followers","following_url":"https://api.github.com/users/adg/following{/other_user}","gists_url":"https://api.github.com/users/adg/gists{/gist_id}","starred_url":"https://api.github.com/users/adg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adg/subscriptions","organizations_url":"https://api.github.com/users/adg/orgs","repos_url":"https://api.github.com/users/adg/repos","events_url":"https://api.github.com/users/adg/events{/privacy}","received_events_url":"https://api.github.com/users/adg/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/22","html_url":"https://github.com/golang/go/milestones/Unreleased","labels_url":"https://api.github.com/repos/golang/go/milestones/22/labels","id":1067491,"number":22,"title":"Unreleased","description":"Issues that do not affect released Go code and binaries.\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":445,"closed_issues":391,"state":"open","created_at":"2015-04-14T18:48:22Z","updated_at":"2016-02-20T00:39:02Z","due_on":"2099-12-31T05:00:00Z","closed_at":null},"comments":2,"created_at":"2016-02-20T00:15:26Z","updated_at":"2016-02-20T01:28:45Z","closed_at":null,"body":"Hello there,\r\n\r\nThe main [example](https://golang.org/pkg/text/template/#example_Template) on golang.org seems to be failing due to a lack of whitespace after the else block.\r\n\r\ntemplate block:\r\n```\r\nDear {{.Name}},\r\n{{if .Attended}}\r\nIt was a pleasure to see you at the wedding.\r\n{{- else}}\r\n\r\n```\r\nfailure:\r\n```\r\npanic: template: letter:5: illegal number syntax: \"-\"\r\n\r\ngoroutine 1 [running]:\r\ntext/template.Must(0x0, 0xfeec0018, 0x1050a1e0, 0x0, 0x0, 0xfeec0018)\r\n\t/usr/local/go/src/text/template/helper.go:23 +0x60\r\nmain.main()\r\n\t/tmp/sandbox410328915/main.go:37 +0x320\r\n```\r\n\r\nadding a space works:\r\n```\r\nDear {{.Name}},\r\n{{if .Attended}}\r\nIt was a pleasure to see you at the wedding.\r\n{{- else }}\r\n```"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/186477346","html_url":"https://github.com/golang/go/issues/14418#issuecomment-186477346","issue_url":"https://api.github.com/repos/golang/go/issues/14418","id":186477346,"user":{"login":"minux","id":135652,"avatar_url":"https://avatars.githubusercontent.com/u/135652?v=3","gravatar_id":"","url":"https://api.github.com/users/minux","html_url":"https://github.com/minux","followers_url":"https://api.github.com/users/minux/followers","following_url":"https://api.github.com/users/minux/following{/other_user}","gists_url":"https://api.github.com/users/minux/gists{/gist_id}","starred_url":"https://api.github.com/users/minux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minux/subscriptions","organizations_url":"https://api.github.com/users/minux/orgs","repos_url":"https://api.github.com/users/minux/repos","events_url":"https://api.github.com/users/minux/events{/privacy}","received_events_url":"https://api.github.com/users/minux/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T01:28:45Z","updated_at":"2016-02-20T01:28:45Z","body":"It's bad output caching. If you add a few spaces to the program, it will\nrun fine.\n\nI think after upgrading the sandbox, we need to flush the output cache.\n"}}