{"action":"created","issue":{"url":"https://api.github.com/repos/kangax/html-minifier/issues/519","repository_url":"https://api.github.com/repos/kangax/html-minifier","labels_url":"https://api.github.com/repos/kangax/html-minifier/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/kangax/html-minifier/issues/519/comments","events_url":"https://api.github.com/repos/kangax/html-minifier/issues/519/events","html_url":"https://github.com/kangax/html-minifier/pull/519","id":137535066,"number":519,"title":"handle whitespace within and around inline tags","user":{"login":"alexlamsl","id":1898413,"avatar_url":"https://avatars.githubusercontent.com/u/1898413?v=3","gravatar_id":"","url":"https://api.github.com/users/alexlamsl","html_url":"https://github.com/alexlamsl","followers_url":"https://api.github.com/users/alexlamsl/followers","following_url":"https://api.github.com/users/alexlamsl/following{/other_user}","gists_url":"https://api.github.com/users/alexlamsl/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlamsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlamsl/subscriptions","organizations_url":"https://api.github.com/users/alexlamsl/orgs","repos_url":"https://api.github.com/users/alexlamsl/repos","events_url":"https://api.github.com/users/alexlamsl/events{/privacy}","received_events_url":"https://api.github.com/users/alexlamsl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-01T10:35:33Z","updated_at":"2016-03-01T19:56:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kangax/html-minifier/pulls/519","html_url":"https://github.com/kangax/html-minifier/pull/519","diff_url":"https://github.com/kangax/html-minifier/pull/519.diff","patch_url":"https://github.com/kangax/html-minifier/pull/519.patch"},"body":"inspired by the tests in PHPTAL:\r\n```\r\n<div>a <a href=#> b </a> c</div>\r\n```\r\nshould minify to:\r\n```\r\n<div>a <a href=#>b </a>c</div>\r\n```\r\nbefore this PR:\r\n```\r\n<div>a <a href=#>b</a> c</div>\r\n```\r\nnote the whitespace placement before `c`.\r\n\r\nOne case we cannot handle optimally is:\r\n```\r\n<div> <span> a </span> </div>\r\n```\r\nwith this PR this turns to:\r\n```\r\n<div><span>a </span></div>\r\n```\r\neven though we should be able to remove that final whitespace safely."},"comment":{"url":"https://api.github.com/repos/kangax/html-minifier/issues/comments/190877486","html_url":"https://github.com/kangax/html-minifier/pull/519#issuecomment-190877486","issue_url":"https://api.github.com/repos/kangax/html-minifier/issues/519","id":190877486,"user":{"login":"alexlamsl","id":1898413,"avatar_url":"https://avatars.githubusercontent.com/u/1898413?v=3","gravatar_id":"","url":"https://api.github.com/users/alexlamsl","html_url":"https://github.com/alexlamsl","followers_url":"https://api.github.com/users/alexlamsl/followers","following_url":"https://api.github.com/users/alexlamsl/following{/other_user}","gists_url":"https://api.github.com/users/alexlamsl/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlamsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlamsl/subscriptions","organizations_url":"https://api.github.com/users/alexlamsl/orgs","repos_url":"https://api.github.com/users/alexlamsl/repos","events_url":"https://api.github.com/users/alexlamsl/events{/privacy}","received_events_url":"https://api.github.com/users/alexlamsl/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T19:56:47Z","updated_at":"2016-03-01T19:56:47Z","body":"@kangax comments addressed :wink: "}}