{"action":"created","issue":{"url":"https://api.github.com/repos/soldair/node-qrcode/issues/150","repository_url":"https://api.github.com/repos/soldair/node-qrcode","labels_url":"https://api.github.com/repos/soldair/node-qrcode/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/soldair/node-qrcode/issues/150/comments","events_url":"https://api.github.com/repos/soldair/node-qrcode/issues/150/events","html_url":"https://github.com/soldair/node-qrcode/issues/150","id":349810517,"node_id":"MDU6SXNzdWUzNDk4MTA1MTc=","number":150,"title":"QRCode toString SVG is not working","user":{"login":"benydc","id":19665791,"node_id":"MDQ6VXNlcjE5NjY1Nzkx","avatar_url":"https://avatars1.githubusercontent.com/u/19665791?v=4","gravatar_id":"","url":"https://api.github.com/users/benydc","html_url":"https://github.com/benydc","followers_url":"https://api.github.com/users/benydc/followers","following_url":"https://api.github.com/users/benydc/following{/other_user}","gists_url":"https://api.github.com/users/benydc/gists{/gist_id}","starred_url":"https://api.github.com/users/benydc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benydc/subscriptions","organizations_url":"https://api.github.com/users/benydc/orgs","repos_url":"https://api.github.com/users/benydc/repos","events_url":"https://api.github.com/users/benydc/events{/privacy}","received_events_url":"https://api.github.com/users/benydc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-12T12:55:30Z","updated_at":"2018-08-12T15:32:39Z","closed_at":"2018-08-12T15:32:39Z","author_association":"NONE","body":"I have an id in this format: 5b6c953aaa58a3a5d7c0891a which I want to create a QRCode:\r\n```\r\nQRCode.toString(ticketId, { type: 'svg', version: 4, errorCorrectionLevel: 'H' });\r\n```\r\nbut the svg string shows incorrect image:\r\n<img width=\"507\" alt=\"screen shot 2018-08-12 at 15 54 43\" src=\"https://user-images.githubusercontent.com/19665791/44002209-0f514232-9e48-11e8-9b43-3bb54d297138.png\">\r\n\r\nthe svg code:\r\n```\r\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 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5h1m2 0h1m1 0h1m2 0h2m1 0h1m1 0h1m3 0h2m1 0h1m4 0h1m1 0h1m2 0h1M6 22.5h2m1 0h2m2 0h1m1 0h1m1 0h2m1 0h6m1 0h2m2 0h1m2 0h1M8 23.5h1m3 0h2m1 0h1m1 0h6m1 0h2m1 0h3m1 0h5M6 24.5h1m1 0h1m1 0h2m1 0h1m1 0h1m3 0h4m2 0h1m4 0h2m4 0h1M4 25.5h1m1 0h2m1 0h1m2 0h5m1 0h3m5 0h1m1 0h1m1 0h5M4 26.5h1m2 0h1m2 0h2m3 0h2m1 0h1m1 0h1m4 0h1m1 0h1m2 0h1m1 0h1m2 0h1M4 27.5h1m4 0h1m1 0h1m2 0h2m3 0h6m2 0h2m3 0h1m1 0h1M4 28.5h2m1 0h2m1 0h1m2 0h1m1 0h1m3 0h3m1 0h1m1 0h9m2 0h1M12 29.5h1m1 0h2m1 0h2m1 0h1m1 0h2m1 0h2m1 0h1m3 0h1m1 0h1M4 30.5h7m1 0h1m1 0h2m2 0h2m2 0h2m4 0h1m1 0h1m1 0h1m1 0h2M4 31.5h1m5 0h1m5 0h5m4 0h4m3 0h1m1 0h1m1 0h1M4 32.5h1m1 0h3m1 0h1m1 0h3m1 0h2m1 0h1m1 0h1m1 0h4m1 0h9M4 33.5h1m1 0h3m1 0h1m1 0h1m1 0h2m1 0h1m1 0h3m1 0h1m2 0h2m3 0h1M4 34.5h1m1 0h3m1 0h1m2 0h1m1 0h1m5 0h4m6 0h3m1 0h2M4 35.5h1m5 0h1m2 0h1m1 0h1m1 0h1m9 0h1m1 0h2m1 0h2m1 0h2M4 36.5h7m2 0h3m4 0h6m2 0h2m1 0h2m1 0h1\"/>\r\n</svg>\r\n```\r\n\r\nplease help, I need to generate using svg."},"comment":{"url":"https://api.github.com/repos/soldair/node-qrcode/issues/comments/412350648","html_url":"https://github.com/soldair/node-qrcode/issues/150#issuecomment-412350648","issue_url":"https://api.github.com/repos/soldair/node-qrcode/issues/150","id":412350648,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjM1MDY0OA==","user":{"login":"benydc","id":19665791,"node_id":"MDQ6VXNlcjE5NjY1Nzkx","avatar_url":"https://avatars1.githubusercontent.com/u/19665791?v=4","gravatar_id":"","url":"https://api.github.com/users/benydc","html_url":"https://github.com/benydc","followers_url":"https://api.github.com/users/benydc/followers","following_url":"https://api.github.com/users/benydc/following{/other_user}","gists_url":"https://api.github.com/users/benydc/gists{/gist_id}","starred_url":"https://api.github.com/users/benydc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benydc/subscriptions","organizations_url":"https://api.github.com/users/benydc/orgs","repos_url":"https://api.github.com/users/benydc/repos","events_url":"https://api.github.com/users/benydc/events{/privacy}","received_events_url":"https://api.github.com/users/benydc/received_events","type":"User","site_admin":false},"created_at":"2018-08-12T15:32:39Z","updated_at":"2018-08-12T15:32:39Z","author_association":"NONE","body":"Ok, did a reinstall and it's working now. "}}
{"actor":{"display_login":"benydc"}}