{"action":"opened","issue":{"url":"https://api.github.com/repos/mnooner256/pyqrcode/issues/57","repository_url":"https://api.github.com/repos/mnooner256/pyqrcode","labels_url":"https://api.github.com/repos/mnooner256/pyqrcode/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/mnooner256/pyqrcode/issues/57/comments","events_url":"https://api.github.com/repos/mnooner256/pyqrcode/issues/57/events","html_url":"https://github.com/mnooner256/pyqrcode/issues/57","id":245732851,"number":57,"title":"only produce the svg element, not the whole file","user":{"login":"mfrasca","id":122869,"avatar_url":"https://avatars1.githubusercontent.com/u/122869?v=4","gravatar_id":"","url":"https://api.github.com/users/mfrasca","html_url":"https://github.com/mfrasca","followers_url":"https://api.github.com/users/mfrasca/followers","following_url":"https://api.github.com/users/mfrasca/following{/other_user}","gists_url":"https://api.github.com/users/mfrasca/gists{/gist_id}","starred_url":"https://api.github.com/users/mfrasca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfrasca/subscriptions","organizations_url":"https://api.github.com/users/mfrasca/orgs","repos_url":"https://api.github.com/users/mfrasca/repos","events_url":"https://api.github.com/users/mfrasca/events{/privacy}","received_events_url":"https://api.github.com/users/mfrasca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-26T14:03:00Z","updated_at":"2017-07-26T14:03:00Z","closed_at":null,"body":"I would like to embed the QR svg element produced by this library in my own svg producing software, and the only way I see to do that, is to write the file into a `StringIO`, then extracting the element I need.\r\n\r\naccording to the docstring for `QRCode.svg`, \r\n>If only the code itself is desired, set the *xmldecl* to false. This will result in a fragment that contains only the \"drawn\" portion of the code.\r\n\r\nhowever, if I do that, I only remove the `xmldecl`, not also the `svg` element. I would like the naked `path` element, and I would like it returned in a string, not written to a file."}}
{"actor":{"display_login":"mfrasca"}}