{"action":"created","issue":{"url":"https://api.github.com/repos/jkphl/svg-sprite/issues/72","labels_url":"https://api.github.com/repos/jkphl/svg-sprite/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/jkphl/svg-sprite/issues/72/comments","events_url":"https://api.github.com/repos/jkphl/svg-sprite/issues/72/events","html_url":"https://github.com/jkphl/svg-sprite/pull/72","id":68951122,"number":72,"title":"Fix issue with view box negative values","user":{"login":"rleite","id":2080495,"avatar_url":"https://avatars.githubusercontent.com/u/2080495?v=3","gravatar_id":"","url":"https://api.github.com/users/rleite","html_url":"https://github.com/rleite","followers_url":"https://api.github.com/users/rleite/followers","following_url":"https://api.github.com/users/rleite/following{/other_user}","gists_url":"https://api.github.com/users/rleite/gists{/gist_id}","starred_url":"https://api.github.com/users/rleite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rleite/subscriptions","organizations_url":"https://api.github.com/users/rleite/orgs","repos_url":"https://api.github.com/users/rleite/repos","events_url":"https://api.github.com/users/rleite/events{/privacy}","received_events_url":"https://api.github.com/users/rleite/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-16T15:39:24Z","updated_at":"2015-04-18T21:29:44Z","closed_at":"2015-04-18T21:29:44Z","pull_request":{"url":"https://api.github.com/repos/jkphl/svg-sprite/pulls/72","html_url":"https://github.com/jkphl/svg-sprite/pull/72","diff_url":"https://github.com/jkphl/svg-sprite/pull/72.diff","patch_url":"https://github.com/jkphl/svg-sprite/pull/72.patch"},"body":"The current viewbox parsing dose not alow negative values. This breaks the sprite when calculating padding."},"comment":{"url":"https://api.github.com/repos/jkphl/svg-sprite/issues/comments/94202725","html_url":"https://github.com/jkphl/svg-sprite/pull/72#issuecomment-94202725","issue_url":"https://api.github.com/repos/jkphl/svg-sprite/issues/72","id":94202725,"user":{"login":"jkphl","id":4446936,"avatar_url":"https://avatars.githubusercontent.com/u/4446936?v=3","gravatar_id":"","url":"https://api.github.com/users/jkphl","html_url":"https://github.com/jkphl","followers_url":"https://api.github.com/users/jkphl/followers","following_url":"https://api.github.com/users/jkphl/following{/other_user}","gists_url":"https://api.github.com/users/jkphl/gists{/gist_id}","starred_url":"https://api.github.com/users/jkphl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkphl/subscriptions","organizations_url":"https://api.github.com/users/jkphl/orgs","repos_url":"https://api.github.com/users/jkphl/repos","events_url":"https://api.github.com/users/jkphl/events{/privacy}","received_events_url":"https://api.github.com/users/jkphl/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T21:29:44Z","updated_at":"2015-04-18T21:29:44Z","body":"While your point is very valid as a whole — *svg-sprite* should accept negative `viewBox` values — the regular expression that you provide is wrong. Should be `/[^-\\d\\.]+/` instead. I'll fix this myself, however. Thanks for reporting!"}}