{"action":"created","issue":{"url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/256","repository_url":"https://api.github.com/repos/ga-wdi-boston/game-project","labels_url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/256/comments","events_url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/256/events","html_url":"https://github.com/ga-wdi-boston/game-project/issues/256","id":175771833,"number":256,"title":"Tidy trimming empty <tag> linter warning fix","user":{"login":"wmcb91","id":7145229,"avatar_url":"https://avatars.githubusercontent.com/u/7145229?v=3","gravatar_id":"","url":"https://api.github.com/users/wmcb91","html_url":"https://github.com/wmcb91","followers_url":"https://api.github.com/users/wmcb91/followers","following_url":"https://api.github.com/users/wmcb91/following{/other_user}","gists_url":"https://api.github.com/users/wmcb91/gists{/gist_id}","starred_url":"https://api.github.com/users/wmcb91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmcb91/subscriptions","organizations_url":"https://api.github.com/users/wmcb91/orgs","repos_url":"https://api.github.com/users/wmcb91/repos","events_url":"https://api.github.com/users/wmcb91/events{/privacy}","received_events_url":"https://api.github.com/users/wmcb91/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-08T14:39:46Z","updated_at":"2016-09-08T15:47:26Z","closed_at":"2016-09-08T14:39:50Z","body":"Chris and I found a solution to a linter issue I encountered when using a bootstrap glyphicon in my project html similar to the example below.  The issue should only occur if you use only a glyphicon with no text content.\r\n```html\r\n<button type=\"button\" class=\"btn btn-default\" aria-label=\"Left Align\">\r\n  <span class=\"glyphicon glyphicon-align-left\" aria-hidden=\"true\"></span>\r\n</button>\r\n```\r\n\r\nWhen I entered the code my linter gave me these warnings:\r\n> tidy Warning trimming empty <span> at [location]\r\n> tidy Warning trimming empty <button> at [location]\r\n\r\nSince glyphicons are created inside nested `<spans>`, the linter does not register them as content when they are standalone. To satisfy the linter you can enter a comment in the span like below.\r\n\r\n```html\r\n<button type=\"button\" class=\"btn btn-default\" aria-label=\"Left Align\">\r\n  <span class=\"glyphicon glyphicon-align-left\" aria-hidden=\"true\"><!-- empty span --></span>\r\n</button>\r\n```\r\n\r\nHopefully this helps if you encounter the same issue. \r\n"},"comment":{"url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/comments/245642403","html_url":"https://github.com/ga-wdi-boston/game-project/issues/256#issuecomment-245642403","issue_url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/256","id":245642403,"user":{"login":"jrhorn424","id":388761,"avatar_url":"https://avatars.githubusercontent.com/u/388761?v=3","gravatar_id":"","url":"https://api.github.com/users/jrhorn424","html_url":"https://github.com/jrhorn424","followers_url":"https://api.github.com/users/jrhorn424/followers","following_url":"https://api.github.com/users/jrhorn424/following{/other_user}","gists_url":"https://api.github.com/users/jrhorn424/gists{/gist_id}","starred_url":"https://api.github.com/users/jrhorn424/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrhorn424/subscriptions","organizations_url":"https://api.github.com/users/jrhorn424/orgs","repos_url":"https://api.github.com/users/jrhorn424/repos","events_url":"https://api.github.com/users/jrhorn424/events{/privacy}","received_events_url":"https://api.github.com/users/jrhorn424/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T15:47:26Z","updated_at":"2016-09-08T15:47:26Z","body":"@wmcb91 Cool fix! You can leave a descriptive comment if it fits. Did you try just an empty comment? `<!-- -->`?"}}
{"actor":{"display_login":"jrhorn424"}}