{"action":"created","issue":{"url":"https://api.github.com/repos/ben-eb/postcss-svgo/issues/12","labels_url":"https://api.github.com/repos/ben-eb/postcss-svgo/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ben-eb/postcss-svgo/issues/12/comments","events_url":"https://api.github.com/repos/ben-eb/postcss-svgo/issues/12/events","html_url":"https://github.com/ben-eb/postcss-svgo/issues/12","id":126152379,"number":12,"title":"Doesn't work with postcss-assets","user":{"login":"holymonson","id":902012,"avatar_url":"https://avatars.githubusercontent.com/u/902012?v=3","gravatar_id":"","url":"https://api.github.com/users/holymonson","html_url":"https://github.com/holymonson","followers_url":"https://api.github.com/users/holymonson/followers","following_url":"https://api.github.com/users/holymonson/following{/other_user}","gists_url":"https://api.github.com/users/holymonson/gists{/gist_id}","starred_url":"https://api.github.com/users/holymonson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holymonson/subscriptions","organizations_url":"https://api.github.com/users/holymonson/orgs","repos_url":"https://api.github.com/users/holymonson/repos","events_url":"https://api.github.com/users/holymonson/events{/privacy}","received_events_url":"https://api.github.com/users/holymonson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ben-eb/postcss-svgo/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ben-eb/postcss-svgo/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-01-12T10:52:39Z","updated_at":"2016-02-02T11:36:12Z","closed_at":null,"body":"Hi, other postcss plugins (e.g. postcss-assets) generate inline svg string like:\r\n```\r\nbackground-image: url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22\r\n```\r\nIt's valid for browser, but fails matching in https://github.com/ben-eb/postcss-svgo/blob/master/src/index.js#L8\r\n```\r\nconst dataURI = /data:image\\/svg\\+xml(;(charset=)?utf-8)?,/;\r\n```\r\n\r\nWould please fix it? Thanks."},"comment":{"url":"https://api.github.com/repos/ben-eb/postcss-svgo/issues/comments/178520796","html_url":"https://github.com/ben-eb/postcss-svgo/issues/12#issuecomment-178520796","issue_url":"https://api.github.com/repos/ben-eb/postcss-svgo/issues/12","id":178520796,"user":{"login":"ben-eb","id":1282980,"avatar_url":"https://avatars.githubusercontent.com/u/1282980?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-eb","html_url":"https://github.com/ben-eb","followers_url":"https://api.github.com/users/ben-eb/followers","following_url":"https://api.github.com/users/ben-eb/following{/other_user}","gists_url":"https://api.github.com/users/ben-eb/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-eb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-eb/subscriptions","organizations_url":"https://api.github.com/users/ben-eb/orgs","repos_url":"https://api.github.com/users/ben-eb/repos","events_url":"https://api.github.com/users/ben-eb/events{/privacy}","received_events_url":"https://api.github.com/users/ben-eb/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T11:36:12Z","updated_at":"2016-02-02T11:36:12Z","body":"No rush, we can wait until a new svgo release. :smile:"}}