{"action":"created","issue":{"url":"https://api.github.com/repos/svg/svgo/issues/241","labels_url":"https://api.github.com/repos/svg/svgo/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/svg/svgo/issues/241/comments","events_url":"https://api.github.com/repos/svg/svgo/issues/241/events","html_url":"https://github.com/svg/svgo/issues/241","id":41580366,"number":241,"title":"Pretty print should not add line breaks to text nodes","user":{"login":"premasagar","id":116809,"avatar_url":"https://avatars.githubusercontent.com/u/116809?v=3","gravatar_id":"","url":"https://api.github.com/users/premasagar","html_url":"https://github.com/premasagar","followers_url":"https://api.github.com/users/premasagar/followers","following_url":"https://api.github.com/users/premasagar/following{/other_user}","gists_url":"https://api.github.com/users/premasagar/gists{/gist_id}","starred_url":"https://api.github.com/users/premasagar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/premasagar/subscriptions","organizations_url":"https://api.github.com/users/premasagar/orgs","repos_url":"https://api.github.com/users/premasagar/repos","events_url":"https://api.github.com/users/premasagar/events{/privacy}","received_events_url":"https://api.github.com/users/premasagar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-08-31T07:14:16Z","updated_at":"2015-02-15T19:31:24Z","closed_at":"2015-01-31T12:16:05Z","body":"e.g. currently, this:\r\n\r\n    <title>Foo</title>\r\n\r\nis pretty-printed to:\r\n\r\n    <title>\r\n        Foo\r\n    </title>\r\n\r\nThis adds excess whitespace to the tooltips that appear in the browser for title elements. I presume this is also a problem for `<text>` and other text nodes."},"comment":{"url":"https://api.github.com/repos/svg/svgo/issues/comments/74432518","html_url":"https://github.com/svg/svgo/issues/241#issuecomment-74432518","issue_url":"https://api.github.com/repos/svg/svgo/issues/241","id":74432518,"user":{"login":"GreLI","id":1467392,"avatar_url":"https://avatars.githubusercontent.com/u/1467392?v=3","gravatar_id":"","url":"https://api.github.com/users/GreLI","html_url":"https://github.com/GreLI","followers_url":"https://api.github.com/users/GreLI/followers","following_url":"https://api.github.com/users/GreLI/following{/other_user}","gists_url":"https://api.github.com/users/GreLI/gists{/gist_id}","starred_url":"https://api.github.com/users/GreLI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GreLI/subscriptions","organizations_url":"https://api.github.com/users/GreLI/orgs","repos_url":"https://api.github.com/users/GreLI/repos","events_url":"https://api.github.com/users/GreLI/events{/privacy}","received_events_url":"https://api.github.com/users/GreLI/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T19:31:24Z","updated_at":"2015-02-15T19:31:24Z","body":"Actually, it's a browser bug. The specification says to trim whitespace."}}