{"action":"closed","issue":{"url":"https://api.github.com/repos/viktorlarsson/gulp-inject-svg/issues/5","repository_url":"https://api.github.com/repos/viktorlarsson/gulp-inject-svg","labels_url":"https://api.github.com/repos/viktorlarsson/gulp-inject-svg/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/viktorlarsson/gulp-inject-svg/issues/5/comments","events_url":"https://api.github.com/repos/viktorlarsson/gulp-inject-svg/issues/5/events","html_url":"https://github.com/viktorlarsson/gulp-inject-svg/issues/5","id":156184435,"number":5,"title":"every img is substituted, not only the ones with a .svg. the regex for the filetype-extension svg is wrong","user":{"login":"teamgroove","id":2168067,"avatar_url":"https://avatars.githubusercontent.com/u/2168067?v=3","gravatar_id":"","url":"https://api.github.com/users/teamgroove","html_url":"https://github.com/teamgroove","followers_url":"https://api.github.com/users/teamgroove/followers","following_url":"https://api.github.com/users/teamgroove/following{/other_user}","gists_url":"https://api.github.com/users/teamgroove/gists{/gist_id}","starred_url":"https://api.github.com/users/teamgroove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamgroove/subscriptions","organizations_url":"https://api.github.com/users/teamgroove/orgs","repos_url":"https://api.github.com/users/teamgroove/repos","events_url":"https://api.github.com/users/teamgroove/events{/privacy}","received_events_url":"https://api.github.com/users/teamgroove/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"viktorlarsson","id":722315,"avatar_url":"https://avatars.githubusercontent.com/u/722315?v=3","gravatar_id":"","url":"https://api.github.com/users/viktorlarsson","html_url":"https://github.com/viktorlarsson","followers_url":"https://api.github.com/users/viktorlarsson/followers","following_url":"https://api.github.com/users/viktorlarsson/following{/other_user}","gists_url":"https://api.github.com/users/viktorlarsson/gists{/gist_id}","starred_url":"https://api.github.com/users/viktorlarsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viktorlarsson/subscriptions","organizations_url":"https://api.github.com/users/viktorlarsson/orgs","repos_url":"https://api.github.com/users/viktorlarsson/repos","events_url":"https://api.github.com/users/viktorlarsson/events{/privacy}","received_events_url":"https://api.github.com/users/viktorlarsson/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-23T01:17:03Z","updated_at":"2016-06-08T09:52:51Z","closed_at":"2016-06-08T09:52:51Z","body":"every <img> not beeing an svg is cleared, because the regex is wrong.\r\n\r\ninstead of:\r\n var testSvg = /(?!.*[.](?:svg)^.*\\.(svg)$$).*/;\r\n\r\nuse:\r\nvar testSvg = /^.*\\.(svg)$/i;"}}
{"actor":{"display_login":"viktorlarsson"}}